Versions in this module Expand all Collapse all v1 v1.1.11 Mar 9, 2023 v1.1.10 Feb 14, 2023 v1.1.9 Feb 14, 2023 v1.1.8 Aug 6, 2021 Changes in this version + type Pos struct + Column int + Filename string + Line int + Offset int + func (p *Pos) IsValid() bool + func (p Pos) After(u Pos) bool + func (p Pos) Before(u Pos) bool + func (p Pos) String() string + type Token struct + JSON bool + Pos Pos + Text string + Type Type + func (t Token) String() string + func (t Token) Value() interface{} + type Type int + const ADD + const ASSIGN + const BOOL + const COMMA + const COMMENT + const EOF + const FLOAT + const HEREDOC + const IDENT + const ILLEGAL + const LBRACE + const LBRACK + const NUMBER + const PERIOD + const RBRACE + const RBRACK + const STRING + const SUB + func (t Type) IsIdentifier() bool + func (t Type) IsLiteral() bool + func (t Type) IsOperator() bool + func (t Type) String() string