Versions in this module Expand all Collapse all v1 v1.1.0 Nov 2, 2015 Changes in this version type Lexer + func (l *Lexer) Free(n int) type TokenType + const TemplateToken v1.0.0 Aug 14, 2015 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) Next() (TokenType, []byte) + func (l Lexer) Err() error + func (l Lexer) IsEOF() bool + type TokenType uint32 + const CommentToken + const ErrorToken + const IdentifierToken + const LineTerminatorToken + const NumericToken + const PunctuatorToken + const RegexpToken + const StringToken + const UnknownToken + const WhitespaceToken + func (tt TokenType) String() string