Versions in this module Expand all Collapse all v0 v0.84.1 Aug 5, 2026 v0.84.0 Jul 31, 2026 Changes in this version + const BpAdd + const BpAnd + const BpAssign + const BpCall + const BpCompare + const BpEqual + const BpLowest + const BpMul + const BpOr + const BpUnary + type Position struct + Column int + Line int + func (p Position) String() string + type Token struct + EndColumn int + EndLine int + Lexeme string + StartColumn int + StartLine int + Type TokenType + func NewToken(typ TokenType, m *machines.Match) Token + func Parse(input string) ([]Token, error) + func (t Token) StartPos() Position + type TokenType int + const BANG + const COLON + const COMMA + const COMMENT + const DOT + const EOF + const IDENT + const KW_ABORT + const KW_DEL + const KW_ELSE + const KW_FALSE + const KW_FOR + const KW_IF + const KW_IN + const KW_NULL + const KW_TRUE + const LBRACE + const LBRACKET + const LIT_FLOAT + const LIT_INTEGER + const LIT_REGEX + const LIT_STRING + const LIT_STRING_RAW + const LIT_TIMESTAMP + const LPAREN + const MINUS + const OP_AND + const OP_ASSIGN + const OP_EQ + const OP_GT + const OP_GTE + const OP_LT + const OP_LTE + const OP_NEQ + const OP_OR + const PERCENT + const PLUS + const RBRACE + const RBRACKET + const RPAREN + const SEMICOLON + const SLASH + const STAR + const WHITESPACE + func (t TokenType) BindingPower() int + func (t TokenType) String() string