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