Re-exports§
pub use pest;pub use pest_derive;pub use tuple_list;
Modules§
- dynamic
- Dynamic shims for producing inputs without static typing.
- generation
- Generator routines for FANDANGO. See
Generated::generatefor details on how to use them. - graph
- Graph operations for lifting FANDANGO grammars to a graph.
- lang
- Language definition for FANDANGO grammars.
Program::try_fromis what you want. :) - typing
- Type information used in generated FANDANGO grammars.
- visitor
- Visitors for type trees emitted by FANDANGO’s
#[derive]implementation.
Macros§
- chain_
field_ iter - Internal macro for compiling iterator chains, for use in
crate::impl_traverse. - debug_
assert_ match - Debug assertion that the value matches the pattern.
- field_
iter - Internal macro for producing iterators over fields, for use in
crate::impl_traverse. - impl_
definition_ of - Helper macro for defining
DefinitionOf, just like [impl_has_dynamic_handler]. - impl_
has_ dynamic_ sampler - Helper macro for defining
HasDynamicSampler. Used to generate the content of aHasDynamicSamplerlike so: - impl_
traverse - Macro which generates implementations of
GraphTraverseover fields of the provided struct or variants of the provided enum. The lifetime'sourceis already within the lifetime list and corresponds to the lifetime of the source code. - parse_
pairs_ as - Extracts inner pairs matching the specified rules from the given pair.
- variant_
traverse - Internal macro for compiling iterator chains, for use in
crate::impl_traverse, over enums. - visitor_
chain - Perform chaining of visitors. Useful for when your visitors perform their own traversal, and may
need exclusive mutable access to parent nodes of the target. If you just need mutable access to
a particular subtree, use
navigation::GoTo::go_toor [navigation::GoToWith::go_to].
Derive Macros§
- Fandango
- Perform the
#[derive]!