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

Function inop

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

Source from the content-addressed store, hash-verified

267 return pass();
268 }
269 function inop(type) {
270 if (type == "name" && content == "in") {cx.marked = "keyword"; return cont();}
271 return pass();
272 }
273 function fndef(type) {
274 if (content == "@" || content == "~") {cx.marked = "keyword"; return cont(fndef);}
275 if (type == "name") {cx.marked = "def"; return cont(fndef);}

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected