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

Function maybeelse

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

Source from the content-addressed store, hash-verified

696 if (type == ",") return cont(vardef);
697 }
698 function maybeelse(type, value) {
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);

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
pushlexFunction · 0.70

Tested by

no test coverage detected