MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / forspec

Function forspec

lib/web/CodeMirror/mode/javascript/javascript.js:701–704  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

699 if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
700 }
701 function forspec(type, value) {
702 if (value == "await") return cont(forspec);
703 if (type == "(") return cont(pushlex(")"), forspec1, poplex);
704 }
705 function forspec1(type) {
706 if (type == "var") return cont(vardef, forspec2);
707 if (type == "variable") return cont(forspec2);

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
pushlexFunction · 0.70

Tested by

no test coverage detected