Expand description
Resilient parser for Shape language.
parse_program_resilient always returns a partial program and a list of
typed parse issues. This is intended for editor/LSP scenarios where partial
ASTs are more useful than hard parse failure.
Structs§
- Parse
Error - A parse issue with span information.
- Partial
Program - A partially parsed program — always produced, never fails.
Enums§
- Parse
Error Kind - Kind of resilient parse issue.
Functions§
- parse_
program_ resilient - Parse a Shape program resiliently. Always succeeds.