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

Function mod

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

Source from the content-addressed store, hash-verified

300 return cont(enumblock);
301 }
302 function mod(type) {
303 if (type == "name") {cx.marked = "def"; return cont(mod);}
304 if (type == "{") return cont(pushlex("}"), block, poplex);
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);

Callers 15

codemirror.min.jsFile · 0.85
meta.jsFile · 0.85
stex.jsFile · 0.85
django.jsFile · 0.85
dart.jsFile · 0.85
markdown.jsFile · 0.85
tiddlywiki.jsFile · 0.85
perl.jsFile · 0.85
gherkin.jsFile · 0.85
python.jsFile · 0.85
gfm.jsFile · 0.85
properties.jsFile · 0.85

Calls 3

contFunction · 0.70
pushlexFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected