This site describes solve-engine 2.44.0, the version npm installs.
serializeLineTrace
function serializeLineTrace(trace, settings?): SerializedLineTrace;Defined in: packages/engine/src/worker/serialize.ts:254
Project a line trace (ExpressionEngine.traceLine) onto its DTO, following
every input. The engine already bounds a trace’s depth and size (maxDepth,
maxLines); the walk here is a loop over an explicit stack all the same, so
no trace can exhaust the call stack on the way across.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
trace | LineTrace |
settings? | FormattingSettings |