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.

SerializedLineTrace

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

Where a line’s answer came from, mirroring LineTrace (what ExpressionEngine.traceLine returns) with every value serialised and each input traced the same way.

cycle: boolean;

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

The line is already on the path above it, so it is not followed again.


forward: boolean;

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

The line is below the line that read it.


inputs: SerializedLineTrace[];

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

The lines this one read, each traced the same way.


line: number;

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

The line’s 1-based number.


name: string | null;

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

The variable the line defines, or null.


truncated: boolean;

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

The depth or size bound stopped the trace here.


value:
| SerializedWorkerValue
| null;

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

The line’s answer, or null when it has none.


via: string[];

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

How the line that read this one reached it (deposit, line 2, #food). Empty at the root.