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

Method _declareSymbolValue

src/compute-engine/index.ts:1236–1242  ·  view source on GitHub ↗

* Associate a new definition to a symbol in the current context. * * For internal use. Use `ce.declare()` instead. * * @internal

(
    name: MathJsonSymbol,
    def: Partial<ValueDefinition>,
    scope?: Scope
  )

Source from the content-addressed store, hash-verified

1234
1235 /**
1236 * When > 0, value writes are ephemeral loop-index writes: they bump
1237 * `_anyVersion` and the definition's `_writeVersion` but not
1238 * `_semanticVersion`. Incremented/decremented (try/finally) around the
1239 * index assigns of `reduceBigOp` and `ComprehensionIndexFrame`.
1240 * @internal
1241 */
1242 get _ephemeralWriteDepth(): number {
1243 return this._configurationLifecycle.ephemeralWriteDepth;
1244 }
1245

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected