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

Function argdef

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

Source from the content-addressed store, hash-verified

324 return pass(rtype, typarams);
325 }
326 function argdef(type) {
327 if (type == "name") {cx.marked = "def"; return cont(argdef);}
328 if (type == ":") return cont(typecx, rtype, valcx);
329 return pass();
330 }
331 function rtype(type) {
332 if (type == "name") {cx.marked = "variable-3"; return cont(rtypemaybeparam); }
333 if (content == "mutable") {cx.marked = "keyword"; return cont(rtype);}

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected