Interface: ParseResult¶
Defined in: parser/src/parse.ts:42
Result of parsing PromptScript source code.
Properties¶
ast¶
ast:
Program|null
Defined in: parser/src/parse.ts:44
The parsed AST, or null if parsing failed with tolerant=false.
errors¶
errors:
ParseError[]
Defined in: parser/src/parse.ts:46
List of errors encountered during parsing.