Re-exports§
pub use deserializer::from_pax;pub use interpreter::parse_pax_expression;pub use interpreter::property_resolution::DependencyCollector;
Modules§
Structs§
- Op
- An operator that corresponds to a rule.
- Pair
- A matching pair of
Tokens and everything between them. - Pairs
- An iterator over
Pairs. It is created bypest::stateandPair::into_inner. - PaxParser
- Pratt
Parser - Struct containing operators and precedences, which can perform Pratt parsing on
primary, prefix, postfix and infix expressions over
Pairs. The tokens inPairsshould alternate in the order:prefix* ~ primary ~ postfix* ~ (infix ~ prefix* ~ primary ~ postfix*)* - Span
- A span over a
&str. It is created from either twoPositions or from aPair.
Enums§
- Assoc
- Associativity of an infix binary operator, used by
Op::infix(Assoc). - Rule
Traits§
- Computable
- Trait for expression types that can be computed to a value
- Parser
- A trait with a single method that parses strings.
Functions§
Derive Macros§
- Parser
- The main method that’s called by the proc macro
(a wrapper around
pest_generator::derive_parser)