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

Function setSymbolValue

src/compute-engine/engine-declarations.ts:92–111  ·  view source on GitHub ↗
(
  ce: IComputeEngine,
  id: MathJsonSymbol,
  value: Expression | boolean | number | undefined
)

Source from the content-addressed store, hash-verified

90 presentedValueType,
91 refineDeclaredPlaceholders,
92 signatureEffects,
93 stripArrowEffects,
94 withArrowEffects,
95} from './boxed-expression/effects-inference.js';
96import { noteOverlapAdmitted } from './boxed-expression/store-admission.js';
97import {
98 constructorAssignmentError,
99 declaredTypeError,
100 TypeCompatibilityError,
101} from './boxed-expression/type-compatibility-error.js';
102import {
103 provenTypeNode,
104 refutingFact,
105} from './boxed-expression/constraint-subject.js';
106import { osaDistance } from '../common/fuzzy-string-match.js';
107
108import { isValidSymbol, validateSymbol } from '../math-json/symbols.js';
109import type { MathJsonExpression, MathJsonSymbol } from '../math-json/types.js';
110
111import type {
112 ValueDefinition,
113 OperatorDefinition,
114 AssignValue,

Callers

nothing calls this directly

Calls 3

lookupFunction · 0.90
isValueDefFunction · 0.90
numberMethod · 0.65

Tested by

no test coverage detected