MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / exprOrigin

Function exprOrigin

src/cortex/parse-cortex.ts:61–86  ·  view source on GitHub ↗

Decorate an expression with a source origin * (offset range in the source code)

(
  expr: MathJsonExpression,
  offsets: [number, number] | Result
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parse-cortex.tsFile · 0.85

Calls 2

toStringMethod · 0.65
sliceMethod · 0.65

Tested by

no test coverage detected