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

Function vardef

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

Source from the content-addressed store, hash-verified

486 if (type == "variable"){cx.marked = "variable-3"; return cont();}
487 }
488 function vardef() {
489 return pass(pattern, maybetype, maybeAssign, vardefCont);
490 }
491 function pattern(type, value) {
492 if (type == "variable") { register(value); return cont(); }
493 if (type == "[") return contCommasep(pattern, "]");

Callers

nothing calls this directly

Calls 1

passFunction · 0.70

Tested by

no test coverage detected