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

Function block

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

Source from the content-addressed store, hash-verified

476 return cont(pushlex(end, info), commasep(what, end), poplex);
477 }
478 function block(type) {
479 if (type == "}") return cont();
480 return pass(statement, block);
481 }
482 function maybetype(type) {
483 if (isTS && type == ":") return cont(typedef);
484 }

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected