evaluateDocument
function evaluateDocument( engine, input, _options?): ParsingResult;Defined in: packages/engine/src/engine/evaluateDocument.ts:59
Evaluate a whole document with full cross-line context, including the line re-runs goal seek needs, and return per-line results in the same shape ExpressionEngine.parseDocument produces.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
engine | ExpressionEngine | The engine to borrow for the pass. Its current document model (if any) is restored before returning. |
input | string | The document text, newline-separated. |
_options | UnifiedParsingOptions | Accepted so a call reads the same as parseDocument’s, but not consulted: the incremental pass reads the document as markdown regardless. |