Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + type Hash uint32 + const Break + const Case + const Catch + const Class + const Const + const Continue + const Debugger + const Default + const Delete + const Do + const Else + const Enum + const Export + const Extends + const False + const Finally + const For + const Function + const If + const Implements + const Import + const In + const Instanceof + const Interface + const Let + const New + const Null + const Package + const Private + const Protected + const Public + const Return + const Static + const Super + const Switch + const This + const Throw + const True + const Try + const Typeof + const Var + const Void + const While + const With + const Yield + func ToHash(s []byte) Hash + func (i Hash) String() string + type Lexer struct + func NewLexer(r io.Reader) *Lexer + func (l *Lexer) Err() error + func (l *Lexer) Next() (TokenType, []byte) + func (l *Lexer) Restore() + type ParsingContext uint32 + const BracesContext + const ExprParensContext + const GlobalContext + const StmtParensContext + const TemplateContext + type TokenState uint32 + const ExprState + const PropNameState + const StmtParensState + const SubscriptState + type TokenType uint32 + const ErrorToken + const IdentifierToken + const LineTerminatorToken + const MultiLineCommentToken + const NumericToken + const PunctuatorToken + const RegexpToken + const SingleLineCommentToken + const StringToken + const TemplateToken + const UnknownToken + const WhitespaceToken + func (tt TokenType) String() string