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

Function iface

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

Source from the content-addressed store, hash-verified

305 return pass();
306 }
307 function iface(type) {
308 if (type == "name") {cx.marked = "def"; return cont(iface);}
309 if (content == "<") return cont(typarams, iface);
310 if (type == "{") return cont(pushlex("}"), block, poplex);
311 return pass();
312 }
313 function impl(type) {
314 if (content == "<") return cont(typarams, impl);
315 if (content == "of" || content == "for") {cx.marked = "keyword"; return cont(rtype, impl);}

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected