On this page

Defines the parser state base type used by this module.

new Parser(): ParserClass
parse(source, state): ParserState
Attributes
source:<string> | <Buffer>
< <ArrayBufferLike> > | <PreparsedAst> the source to parse
the parser state
the parser state

Parses the provided source and updates the parser state.