parser for the smallest unit (numbers, identifiers, parenthesized sub-expressions)
array of precedence levels, highest first. Each level is an array of OperatorInfo.
Optional
parenParser:
Parser<T>
optional parser for parenthesized sub-expressions. If
not provided, one is built automatically using
( and ) with
lazy to handle recursion.
Generated using TypeDoc
Builds an expression parser that handles operator precedence and associativity. Operators are given as an array of precedence levels, from highest to lowest. Each level is an array of operators at that precedence.