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

Function forspec1

mini-code-edit/cm/mode/javascript/javascript.js:286–291  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

284 if (type == ",") return cont(vardef1);
285 }
286 function forspec1(type) {
287 if (type == "var") return cont(vardef1, forspec2);
288 if (type == ";") return pass(forspec2);
289 if (type == "variable") return cont(formaybein);
290 return pass(forspec2);
291 }
292 function formaybein(type, value) {
293 if (value == "in") return cont(expression);
294 return cont(maybeoperator, forspec2);

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected