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

Function forspec

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

Source from the content-addressed store, hash-verified

511 if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
512 }
513 function forspec(type) {
514 if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex);
515 }
516 function forspec1(type) {
517 if (type == "var") return cont(vardef, expect(";"), forspec2);
518 if (type == ";") return cont(forspec2);

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
expectFunction · 0.70

Tested by

no test coverage detected