Versions in this module Expand all Collapse all v6 v6.13.0 Oct 5, 2024 Changes in this version + var TokMap = TokenMap + type Context interface + type Pos struct + Column int + Context Context + Line int + Offset int + func (p Pos) String() string + type Sourcer interface + Source func() string + type Token struct + Lit []byte + func (t *Token) CharLiteralValue() string + func (t *Token) Equals(rhs interface{}) bool + func (t *Token) Float32Value() (float32, error) + func (t *Token) Float64Value() (float64, error) + func (t *Token) IDValue() string + func (t *Token) Int32Value() (int32, error) + func (t *Token) Int64Value() (int64, error) + func (t *Token) StringValue() string + func (t *Token) UTF8Rune() (rune, error) + type TokenMap struct + func (m TokenMap) Id(tok Type) string + func (m TokenMap) StringType(typ Type) string + func (m TokenMap) TokenString(tok *Token) string + func (m TokenMap) Type(tok string) Type + type Type int + const EOF + const INVALID