MCPcopy Create free account
hub / github.com/dotchain/dot / Eval

Function Eval

x/rich/eval/eval.go:101–115  ·  view source on GitHub ↗

Eval evaluates a value within a particular scope Values of type CallExpr evaluate to the corresponding call. All other values are simply the same values but with any nested call expressions evaluated. The provided scope is used to lookup IDs with Ref{} values. Any Dir values automatically contrib

(s Scope, v changes.Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestEvalFunction · 0.92
TestEvalErrorsFunction · 0.92
TestEvalPanicsFunction · 0.92
callable.goFile · 0.85
dotFunction · 0.85
forEachMethod · 0.85
filterMethod · 0.85
reduceMethod · 0.85
evalArrayFunction · 0.85
evalObjectFunction · 0.85
lookupMethod · 0.85
EvalMethod · 0.85

Calls 3

evalArrayFunction · 0.85
evalObjectFunction · 0.85
EvalMethod · 0.80

Tested by 3

TestEvalFunction · 0.74
TestEvalErrorsFunction · 0.74
TestEvalPanicsFunction · 0.74