MCPcopy Create free account
hub / github.com/Paxa/postbird / forspec

Function forspec

public/codemirror/javascript/javascript.js:598–600  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

596 if (type == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
597 }
598 function forspec(type) {
599 if (type == "(") return cont(pushlex(")"), forspec1, expect(")"), poplex);
600 }
601 function forspec1(type) {
602 if (type == "var") return cont(vardef, expect(";"), forspec2);
603 if (type == ";") return cont(forspec2);

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
pushlexFunction · 0.85
expectFunction · 0.85

Tested by

no test coverage detected