Crate leo_grammar[][src]

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

pub use errors::*;

Modules

access
annotations
ast

Abstract syntax tree (ast) representation from leo.pest.

circuits
common
console
definitions
errors
expressions
files
functions
imports
operations
statements
types
values

Structs

Grammar

The grammar of a Leo program, encoded as an abstract syntax tree (AST).