Variable: visitor¶
constvisitor:PromptScriptVisitor
Defined in: parser/src/grammar/visitor.ts:1378
Legacy visitor instance kept for direct consumers of the parser API.
Parse helpers use createVisitor() so request state never leaks between calls.
Deprecated¶
Shared instance: interpolation settings, environment providers, and diagnostics accumulate on the visitor, so concurrent or reentrant use cross-contaminates results. Call createVisitor to obtain an instance scoped to one parse request.