MCPcopy Create free account
hub / github.com/TruthHun/BookStack / exp

Function exp

static/editor.md/lib/codemirror/mode/javascript/javascript.js:322–326  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

320
321 function expect(wanted) {
322 function exp(type) {
323 if (type == wanted) return cont();
324 else if (wanted == ";") return pass();
325 else return cont(exp);
326 };
327 return exp;
328 }
329

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected