Versions in this module Expand all Collapse all v2 v2.0.0 Sep 25, 2024 Changes in this version + type Lexer struct + func New(src *ast.Source) Lexer + func (s *Lexer) ReadToken() (Token, error) + type Token struct + Kind Type + Pos ast.Position + Value string + func (t Token) String() string + type Type int + const Amp + const At + const Bang + const BlockString + const BraceL + const BraceR + const BracketL + const BracketR + const Colon + const Comment + const Dollar + const EOF + const Equals + const Float + const Int + const Invalid + const Name + const ParenL + const ParenR + const Pipe + const Spread + const String + func (t Type) Name() string + func (t Type) String() string