Expand description
The Leo parser.
This crate now makes use of leo-parser-lossless, and
translates its output to the Leo AST. The functions such
as to_expression and to_statement in the conversions
module directly convert SyntaxNodes from the lossless tree into
AST nodes. The publicly exposed functions such as parse_expression
and parse_statement can be called without reference to the lossless
parser to complete the entire parsing task.
Functionsยง
- parse
- parse_
ast - Creates a new AST from a given file path and source code text.
- parse_
expression - parse_
module - parse_
statement