Versions in this module Expand all Collapse all v1 v1.0.3 Jul 20, 2015 v1.0.2 Jul 14, 2015 v1.0.1 Jun 30, 2015 v1.0.0 Jun 18, 2015 Changes in this version + var DOTTokens = NewMapFromStrings([]string{ ... }) + type Position struct + Column int + Line int + Offset int + func (pos *Position) IsValid() bool + func (pos Position) String() string + type Token struct + Lit []byte + Type Type + func NewToken(typ Type, lit []byte) *Token + func (T *Token) IntValue() (int64, error) + func (T *Token) SDTVal() string + func (T *Token) UintValue() (uint64, error) + func (this *Token) Equals(that *Token) bool + func (this *Token) String() string + type TokenMap struct + func NewMap() *TokenMap + func NewMapFromFile(file string) (*TokenMap, error) + func NewMapFromString(input string) *TokenMap + func NewMapFromStrings(input []string) *TokenMap + func (this *TokenMap) AddToken(str string) + func (this *TokenMap) Equals(that *TokenMap) bool + func (this *TokenMap) String() string + func (this *TokenMap) Strings() []string + func (this *TokenMap) TokenString(typ Type) string + func (this *TokenMap) Tokens() []*Token + func (this *TokenMap) Type(key string) Type + func (this *TokenMap) WriteFile(file string) error + type Type int + const EOF + const ILLEGAL + func (T Type) String() string