MCPcopy Index your code
hub / github.com/nwutils/nw-sample-apps / vardef1

Function vardef1

mini-code-edit/cm/mode/javascript/javascript.js:278–281  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

276 return pass(statement, block);
277 }
278 function vardef1(type, value) {
279 if (type == "variable"){register(value); return cont(vardef2);}
280 return cont();
281 }
282 function vardef2(type, value) {
283 if (value == "=") return cont(expression, vardef2);
284 if (type == ",") return cont(vardef1);

Callers

nothing calls this directly

Calls 2

registerFunction · 0.85
contFunction · 0.70

Tested by

no test coverage detected