MCPcopy Create free account
hub / github.com/Paxa/postbird / maybeelse

Function maybeelse

public/codemirror/javascript/javascript.js:595–597  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

593 if (type == ",") return cont(vardef);
594 }
595 function maybeelse(type, value) {
596 if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
597 }
598 function forspec(type) {
599 if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex);
600 }

Callers

nothing calls this directly

Calls 2

contFunction · 0.85
pushlexFunction · 0.85

Tested by

no test coverage detected