Versions in this module Expand all Collapse all v0 v0.13.0 Nov 25, 2026 Changes in this version + func NonstandardEscapes(tok source.Span, raw string) []source.Span type Token + NonstandardEscape bool v0.12.1 Nov 6, 2026 v0.12.0 Nov 4, 2026 Changes in this version + const NotASingleName + func NameProblem(name string) string v0.11.0 Oct 24, 2026 v0.10.1 Oct 16, 2026 v0.10.0 Oct 11, 2026 v0.9.2 Oct 5, 2026 v0.9.0 Sep 25, 2026 Changes in this version + func ContextualWords(kind source.Kind) []string + func InvalidEscapes(tok source.Span, raw string) []source.Span + func IsDecimalValue(s string) bool + func IsRealValue(s string) bool + type Kind int + const Amp + const Arrow + const At + const AtAt + const Caret + const Colon + const ColonColon + const ColonColonGt + const ColonEq + const ColonGt + const ColonGtGt + const Comma + const Decimal + const Dollar + const Dot + const DotDot + const DotQuestion + const EOF + const Eq + const EqEq + const EqEqEq + const EqGt + const Error + const Ge + const Gt + const Hash + const Identifier + const Invalid + const Keyword + const LBrace + const LBracket + const LParen + const Le + const Lt + const MLNote + const Minus + const NotEq + const NotEqEq + const Percent + const Pipe + const Plus + const Question + const QuestionQ + const RBrace + const RBracket + const RParen + const Real + const RegularComment + const SLNote + const Semicolon + const Slash + const Star + const StarStar + const String + const Tilde + const UnrestrictedName + const Whitespace + func (k Kind) String() string + type Lexer struct + func New(sf *source.SourceFile) *Lexer + func (lx *Lexer) Next() Token + type Token struct + BadEscape bool + KeywordID string + Kind Kind + Span source.Span + Unterminated bool + func (t Token) IsTrivia() bool