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

Function evaluateBlock

src/compute-engine/library/control-structures.ts:192–198  ·  view source on GitHub ↗

Evaluate a Block expression.

(
  ops: ReadonlyArray<Expression>,
  { engine: ce }: Partial<EvaluateOptions> & { engine: ComputeEngine }
)

Source from the content-addressed store, hash-verified

190} from '../boxed-expression/conditional-value.js';
191import { isValueDef } from '../boxed-expression/utils.js';
192import {
193 initializeLocalContract,
194 widenAssignedType,
195 widenLocalType,
196} from '../boxed-expression/boxed-value-definition.js';
197import {
198 elementMemoFillTo,
199 ELEMENT_MEMO_CAP,
200 elementMemoCanKeep,
201 validElementMemo,

Callers

nothing calls this directly

Calls 1

evaluateStatementsFunction · 0.90

Tested by

no test coverage detected