Crate leo_parser

Source
Expand description

The parser to convert Leo code text into an [AST] type.

This module contains the parse_ast() method which calls the underlying parse() method to create a new program ast.

§leo-parser

Crates.io Authors License

Re-exports§

pub use parser::*;

Modules§

parser
The parser to convert Leo code text into a Program AST type.
tokenizer 🔒
The tokenizer to convert Leo code text into tokens.

Constants§

KEYWORD_TOKENS

Functions§

parse_ast
Creates a new AST from a given file path and source code text.