Expand description
The indentation-aware .opy CST parser.
Consumes the expanded token stream from [crate::preprocess] and builds a
[cst::Program]. Parsing is deterministic and corpus-backed; malformed
input produces structured OpyErrors rather than panics, and the
parser recovers at statement/line boundaries so multiple useful errors are
reported. The returned ParseOutput carries either a complete program
or the collected errors (never both).
Structs§
- Parse
Output - The outcome of a parse.
Functions§
- parse
- Parse an expanded token stream into a CST program.
- parse_
with_ options - Parse with the global redeclaration policy observed by the pinned oracle.