Expand description
Core part of pest3.
Re-exports§
Modules§
- choice
- A macro to generate choice type
and generated choice types that has 2 to 15 variants,
which are named
Choice{i}
. - error
- Types for different kinds of parsing failures.
- formatter
- Copied from pest-typed/formatter.rs.
- position
- Copied from pest/pest/src/position.rs (commit ac0aed3eecf435fd93ba575a39704aaa88a375b7) and modified.
- sequence
- A macro to generate sequence type
and generated sequence types that has 2 to 15 fields,
which are named
field_{i}
. - span
- Copied from pest/pest/src/position.rs (commit ac0aed3eecf435fd93ba575a39704aaa88a375b7) and modified.
- std
- Re-exported items from std.
- token
- Definition of tokens.
- typed
- Definitions related to typed syntax tree.
Macros§
- choice_
type - Generate choice type.
- full_
rule_ struct - Struct for rules with full capacity.
- sequence_
type - Generate sequence type.
- unicode
- Generate unicode property type.
Structs§
- Stack
- Implementation of a
Stack
which maintains popped elements and length of previous states in order to rewind the stack to a previous state.
Traits§
- Rule
Type - A trait which parser rules must implement.