MCPcopy
hub / github.com/DHTMLX/gantt / maybeelse

Function maybeelse

samples/common/codehighlight/javascript.js:703–705  ·  view source on GitHub ↗
(type, value)

Source from the content-addressed store, hash-verified

701 if (type == ",") return cont(vardef);
702 }
703 function maybeelse(type, value) {
704 if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
705 }
706 function forspec(type, value) {
707 if (value == "await") return cont(forspec);
708 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