UnifiedParsingOptions
Defined in: packages/engine/src/types/ParsingResult.ts:84
How a document should be parsed.
Properties
Section titled “Properties”includeDiagnostics?
Section titled “includeDiagnostics?”optional includeDiagnostics?: boolean;Defined in: packages/engine/src/types/ParsingResult.ts:100
Collect a stage-by-stage trace. For tooling only: it is not free.
includeHighlights?
Section titled “includeHighlights?”optional includeHighlights?: boolean;Defined in: packages/engine/src/types/ParsingResult.ts:98
Include syntax-highlighting spans.
includeLineInfo?
Section titled “includeLineInfo?”optional includeLineInfo?: boolean;Defined in: packages/engine/src/types/ParsingResult.ts:96
Include line offsets and positions. Costs a little to compute.
inputType
Section titled “inputType”inputType: "code" | "raw" | "markdown";Defined in: packages/engine/src/types/ParsingResult.ts:92
How to read the input.
markdown respects headings, comments and code fences, and looks for
inline solves. raw treats every line as an expression. code is for
input already known to be expressions.
localeCode?
Section titled “localeCode?”optional localeCode?: string;Defined in: packages/engine/src/types/ParsingResult.ts:94
Locale for keywords and number formatting. Defaults to English.