MCPcopy
hub / github.com/witheve/Eve / value

Method value

src/runtime/analyzer.ts:101–105  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

99 }
100
101 value(node) {
102 if(node.type === "constant") return node.value;
103 if(node.type === "variable") return node;
104 throw new Error("Trying to get value of non-value type: " + node.type)
105 }
106}
107
108//---------------------------------------------------------------------

Callers 5

_scanRecordMethod · 0.80
_scanScanMethod · 0.80
_actionRecordMethod · 0.80
_actionActionMethod · 0.80
_equalitiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected