Defines the parser state base type used by this module.
new Parser(): ParserClassReturns:
<ParserClass>parse(source, state): ParserStateAttributes
source:
<string>
|
<Buffer><
<ArrayBufferLike>
> |
<PreparsedAst>
the source to parsestate:
<ParserState>the parser state
Returns:
<ParserState>the parser state
Parses the provided source and updates the parser state.