Module leo_parser::parser

source ·
Expand description

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

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

Functions

  • Creates a new program from a given file path and source code text.
  • Parses an input file at the given file path and source code text.