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

Function ro

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

Source from the content-addressed store, hash-verified

238 }
239 function record_of(comb) {
240 function ro(type) {
241 if (content == "mutable" || content == "with") {cx.marked = "keyword"; return cont(ro);}
242 if (content.match(/^\w*$/)) {cx.marked = "variable"; return cont(ro);}
243 if (type == ":") return cont(comb, ro);
244 if (type == "}") return cont();
245 return cont(ro);
246 }
247 return ro;
248 }
249 function blockvars(type) {

Callers

nothing calls this directly

Calls 1

contFunction · 0.70

Tested by

no test coverage detected