Expand description
The parser to convert Leo code text into a Program
AST type.
This module contains the parse()
function which calls the underlying tokenize()
method to create a new program AST.
Modulesยง
- context ๐
- expression ๐
- file ๐
- statement ๐
- type_ ๐
Functionsยง
- compute_
module_ ๐key - Computes a module key from a
FileName
, optionally relative to a root directory. - parse
- Parses the main source file and any associated modules into a
Program
AST. - parse_
expression - parse_
module - parse_
statement