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

Function exp

samples/common/codehighlight/javascript.js:360–364  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

358
359 function expect(wanted) {
360 function exp(type) {
361 if (type == wanted) return cont();
362 else if (wanted == ";" || type == "}" || type == ")" || type == "]") return pass();
363 else return cont(exp);
364 };
365 return exp;
366 }
367

Callers

nothing calls this directly

Calls 2

contFunction · 0.85
passFunction · 0.85

Tested by

no test coverage detected