MCPcopy Index your code
hub / github.com/witheve/Eve / checkBlockForVariable

Function checkBlockForVariable

src/runtime/builder.ts:212–220  ·  view source on GitHub ↗
(block, variableName)

Source from the content-addressed store, hash-verified

210//-----------------------------------------------------------
211
212function checkBlockForVariable(block, variableName) {
213 let curBlock = block;
214 while(curBlock) {
215 let found = curBlock.variables[variableName];
216 if(found) return found;
217 curBlock = curBlock.parent;
218 }
219 return;
220}
221
222function checkSubBlockEqualities(context, block) {
223 // if we have an equality that is with a constant, then we need to add

Callers 1

buildScansFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected