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

Method _declareSymbolOperator

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

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

(
    name: string,
    def: OperatorDefinition,
    scope?: Scope
  )

Source from the content-addressed store, hash-verified

1249
1250 /**
1251 * When > 0, the assumptions store answers as EMPTY to every consumer that
1252 * queries it through `contextAssumptions()`, so a computation bracketed by
1253 * this depth behaves as if no assumption were in force. Sites that COPY or
1254 * SNAPSHOT the store (a scope push) are exempt.
1255 * @internal
1256 */
1257 get _factSuppressionDepth(): number {
1258 return this._configurationLifecycle.factSuppressionDepth;
1259 }
1260

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected