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

Function forspec

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

Source from the content-addressed store, hash-verified

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);
709 }
710 function forspec1(type) {
711 if (type == "var") return cont(vardef, forspec2);
712 if (type == "variable") return cont(forspec2);

Callers

nothing calls this directly

Calls 2

contFunction · 0.85
pushlexFunction · 0.85

Tested by

no test coverage detected