👎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§
- Operator
Deprecated Infix operator used inPrecClimber
. - Prec
Climber Deprecated List of operators and precedences, which can perform precedence climbing on infix expressions contained in aPairs
. The token pairs contained in thePairs
should start with a primary pair and then alternate between an operator and a primary.