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

Function pushScope

src/compute-engine/engine-scope.ts:8–21  ·  view source on GitHub ↗
(
  ce: IComputeEngine,
  scope?: Scope,
  name?: string
)

Source from the content-addressed store, hash-verified

6 BoxedDefinition,
7 BoxedValueDefinition,
8 FactRecord,
9 IComputeEngine,
10 Scope,
11} from './global-types.js';
12
13/** One frame of the engine's evaluation-context stack. */
14type EvalContext = IComputeEngine['_evalContextStack'][number];
15
16import { ExpressionMap } from './boxed-expression/expression-map.js';
17import { isValueDef, isOperatorDef } from './boxed-expression/utils.js';
18import {
19 isDormantPop,
20 reviveBindings,
21 tombstoneBinding,
22} from './boxed-expression/binding-tombstone.js';
23import {
24 activationValuesOf,

Callers

nothing calls this directly

Calls 1

pushEvalContextFunction · 0.85

Tested by

no test coverage detected