Functions to syntactically parse a series of tokens using the LALR algorithm.
Function or value | Description | ||
Full Usage:
parse grammar pp tokenizer input
Parameters:
Grammar
-
The grammar to use.
pp : PostProcessor<'TResult>
-
The PostProcessor to use on the newly-fused productions.
tokenizer : Tokenizer
-
A Tokenizer object that gives the next tokens.
input : CharStream
-
The CharStream whose characters are to be parsed.
Returns: 'TResult
|
Parses and post-processes tokens with the LALR(1) algorithm.
|