Crate leo_grammar

Source
Expand description

The pest abstract syntax tree (ast) for a Leo program.

This module contains the Grammar type, a wrapper around the [File] type in this module. The Grammar type is the datatype generated by the pest parser using grammar from leo.pest. The Grammar type is intended to be parsed into a [Ast]. It should not be parsed by any other pass of the compiler.

Re-exports§

Modules§

Structs§

  • The pest abstract syntax tree (ast) for a Leo program.