MCPcopy
hub / github.com/pandao/editor.md / impl

Function impl

lib/codemirror/mode/rust/rust.js:313–319  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

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);}
316 if (type == "name") {cx.marked = "def"; return cont(impl);}
317 if (type == "{") return cont(pushlex("}"), block, poplex);
318 return pass();
319 }
320 function typarams() {
321 if (content == ">") return cont();
322 if (content == ",") return cont(typarams);

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…