Skip to main content

Module parser

Module parser 

Source
Expand description

Strict and recovering parser entry points.

Structs§

ParseOutcome
The result of a recovering parse.
ParsedProgram
A parsed program and its complete, trivia-preserving token stream.

Functions§

parse
Parses one complete source input, rejecting lexical or syntactic errors.
parse_recovering
Parses while retaining diagnostics and always constructing a program root.