Module pest::prec_climber
source · 👎Deprecated since 2.4.0: Use
pest::pratt_parser
instead (it is an equivalent which also supports unary prefix/suffix operators).
While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release.Expand description
Constructs useful in infix operator parsing with the precedence climbing method.
Structs§
- OperatorDeprecatedInfix operator used in
PrecClimber
. - PrecClimberDeprecatedList of operators and precedences, which can perform precedence climbing on infix expressions contained in a
Pairs
. The token pairs contained in thePairs
should start with a primary pair and then alternate between an operator and a primary.