Parser Context
A parsing context, created by a Parser.parse call, which exposes an interface for pratt-parsing.
Author
AdrianTodt
Parameters
T
The parser's (and grammar's) token type.
E
The parser's (and grammar's) expression result.
Functions
eat
Link copied to clipboard
parse Expression
Link copied to clipboard
Parses the expression using this parser's grammar.
peek Ahead Until
Link copied to clipboard
Peeks the tokens ahead until a token of any of the types is found.
with Grammar
Link copied to clipboard
Creates a child parser context with the specified grammar.