Expand description
The JS parser (JSParserImpl). Port of lib/Parser/JSParserImpl*.
Recursive-descent LL(1) over JSLexer, building the ast ESTree.
Structs§
- JSParser
Impl - The JS parser.
- Param
- A bitmask of grammar parameters threaded between parse functions.
Port of
JSParserImpl::Param.
Enums§
- Parser
Pass - The parser mode. Port of
enum ParserPass(JSParser.h:26-36). Same order: PreParse, LazyParse, FullParse.
Constants§
- PARAM_
DEFAULT [Default]- PARAM_
IN [In]— “in” is recognized as a binary operator in RelationalExpression.- PARAM_
RETURN [Return]- PARAM_
TAGGED [Tagged]