For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class FormatExpression
Implements
Index
Constructors
constructor
-
Parameters
- sections: FormattedSectionExpression[]
Returns FormatExpression
Methods
eachChild
-
Parameters
- fn: (_: Expression) => void
Returns void
evaluate
-
Parameters
- ctx: EvaluationContext
Returns Formatted
outputDefined
-
Statically analyze the expression, attempting to enumerate possible outputs. Returns false if the complete set of outputs is statically undecidable, otherwise true.
Returns boolean
Staticparse
-
Parameters
- args: readonly unknown[]
- context: ParsingContext
Returns Expression
Expression