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

Function typarams

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

Source from the content-addressed store, hash-verified

318 return pass();
319 }
320 function typarams() {
321 if (content == ">") return cont();
322 if (content == ",") return cont(typarams);
323 if (content == ":") return cont(rtype, typarams);
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);

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected