- <init>
- buildIdentifierPath
- checkVanillaForInitializers
Checks variable declarations in for statements.
- createLookaheadParser
Forks the parser at the current point and returns a new parser for speculative
parsing.
- eat
Consumes the next token. If the consumed token is not of the expected type then
report an error and
- eatId
Consumes an identifier token that is not a reserved word.
- eatIdOpt
Shorthand for eatOpt(TokenType.IDENTIFIER)
- eatIdOrKeywordAsId
Consumes an identifier token that may be a reserved word, i.e. an
IdentifierName, not necessarily an
- eatObjectLiteralPropertyName
- eatOpt
Consumes the next token if it is of the expected type. Otherwise returns null.
Never reports errors.
- eatPossibleImplicitSemiColon
Consume a (possibly implicit) semi-colon. Reports an error if a semi-colon is
not present.
- eatPredefinedString