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

Function fntype

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

Source from the content-addressed store, hash-verified

342 return pass();
343 }
344 function fntype(type) {
345 if (type == "(") return cont(pushlex("("), commasep(rtype, ")"), poplex, fntype);
346 if (type == "->") return cont(rtype);
347 return pass();
348 }
349 function pattern(type) {
350 if (type == "name") {cx.marked = "def"; return cont(patternmaybeop);}
351 if (type == "atom") return cont(patternmaybeop);

Callers

nothing calls this directly

Calls 4

contFunction · 0.70
pushlexFunction · 0.70
commasepFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected