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

Function maybeLevelVariable

src/runtime/builder.ts:593–603  ·  view source on GitHub ↗
(scan, level, variable)

Source from the content-addressed store, hash-verified

591 }
592
593 let maybeLevelVariable = (scan, level, variable) => {
594 if(join.isVariable(variable)) {
595 let info = variableInfo[variable.id]
596 let minLevel = level;
597 for(let provider of info.providers) {
598 let providerLevel = blockLevel[provider.id] || 0;
599 minLevel = Math.min(minLevel, providerLevel);
600 }
601 info.level = minLevel;
602 }
603 }
604
605 for(let scan of scans) {
606 if(scan instanceof join.Scan) {

Callers 1

stratifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected