Module parser

Source
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ยง

parse
Creates a new program from a given file path and source code text.
parse_expression
parse_statement