Defines the parser state base type used by this module.
new Parser(): ParserReturns:
Parserparse(source, state): ParserStateAttributes
source:
string | Buffer<ArrayBufferLike> | PreparsedAstthe source to parse
state:
ParserStatethe parser state
Returns:
ParserStatethe parser state
Parses the provided source and updates the parser state.