MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / forspec1

Function forspec1

front-end/cm/javascript.js:513–518  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

511 if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex);
512 }
513 function forspec1(type) {
514 if (type == "var") return cont(vardef, expect(";"), forspec2);
515 if (type == ";") return cont(forspec2);
516 if (type == "variable") return cont(formaybeinof);
517 return pass(expression, expect(";"), forspec2);
518 }
519 function formaybeinof(_type, value) {
520 if (value == "in" || value == "of") { cx.marked = "keyword"; return cont(expression); }
521 return cont(maybeoperatorComma, forspec2);

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
expectFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected