Function: parse()¶
parse(
source,options?):ParseResult
Defined in: parser/src/parse.ts:180
Parse PromptScript source code into the mutable legacy AST.
The returned graph is detached from the canonical parser output so existing consumers may continue to mutate it during the compatibility window.
Parameters¶
source¶
string
options?¶
ParseOptions = {}