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

Function resolve

src/runtime/join.ts:91–98  ·  view source on GitHub ↗
(toResolve, prefix, resolved = [])

Source from the content-addressed store, hash-verified

89
90// Resolve an array of registers based on a prefix of variables
91export function resolve(toResolve, prefix, resolved = []) {
92 let ix = 0;
93 for(let register of toResolve) {
94 resolved[ix] = toValue(register, prefix);
95 ix++;
96 }
97 return resolved;
98}
99
100// Check if this entire array of registers has values (all variables have been
101// filled in by the prefix.)

Callers 9

resolveAggregateMethod · 0.90
testMethod · 0.90
resolveAggregateFunction · 0.90
testFunction · 0.90
aggregateMethod · 0.90
resolveMethod · 0.70
resolveMethod · 0.70
resolveMethod · 0.70
resolveOutputsMethod · 0.70

Calls 1

toValueFunction · 0.85

Tested by 2

testMethod · 0.72
testFunction · 0.72