MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / maybeelse

Function maybeelse

static/libs/javascript.js:717–719  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

715 if (type == ",") return cont(vardef);
716 }
717 function maybeelse(type, value) {
718 if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
719 }
720 function forspec(type, value) {
721 if (value == "await") return cont(forspec);
722 if (type == "(") return cont(pushlex(")"), forspec1, poplex);

Callers

nothing calls this directly

Calls 2

contFunction · 0.85
pushlexFunction · 0.85

Tested by

no test coverage detected