Expand description
Syntax parsing and lexer re-exports.
Modules§
- ast
- Frontend AST re-exports used by the parser and downstream stages.
- syntax
- Parser and syntax helpers re-exported under the historic
syntaxpath.
Structs§
- FileId
- Identifier for one source file tracked by the frontend.
- Source
Location - Concrete source location in a file.
Enums§
- Syntax
Error - Parser error reported while lexing or parsing source text.
Functions§
- parse_
program - Parse a source string into a frontend program AST.
- parse_
program_ cst - Parse a source string and build a CST view from the resulting AST.
- parse_
program_ with_ file_ id - Parse a source string into a frontend program AST with a concrete file id.