Crate pest_typed_generator

Crate pest_typed_generator 

Source
Expand description

A code generator based on pest.

Features:

  • grammar-extras.

    Enables extra grammars of pest.

It can create corresponding type definitions from pest grammar files.

See pest_typed for related traits and types.

Functions§

derive_typed_parser
Processes the derive/proc macro input and generates the corresponding typed parser and nodes based on the parsed grammar. It will generate an explicit “include_str” statement.
match_choices
Match a choices structure generated by pest-typed.