Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

SerializedParsingResult

Defined in: packages/engine/src/worker/dto.ts:265

A whole parsed document, mirroring ParsingResult.

diagnostics is already the JSON form the engine emits (DiagnosticReportJSON), so it crosses unchanged when a host asked for it.

optional checks?: {
failed: number;
passed: number;
};

Defined in: packages/engine/src/worker/dto.ts:271

The document’s check pass and fail count, as ParsingResult.checks.

failed: number;
passed: number;

optional diagnostics?: DiagnosticReportJSON;

Defined in: packages/engine/src/worker/dto.ts:269


errors: string[];

Defined in: packages/engine/src/worker/dto.ts:268


lines: SerializedParsedLine[];

Defined in: packages/engine/src/worker/dto.ts:266


totalLines: number;

Defined in: packages/engine/src/worker/dto.ts:267