MCPcopy
hub / github.com/nwutils/nw-sample-apps / ro

Function ro

mini-code-edit/cm/mode/rust/rust.js:227–233  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

225 }
226 function record_of(comb) {
227 function ro(type) {
228 if (content == "mutable" || content == "with") {cx.marked = "keyword"; return cont(ro);}
229 if (content.match(/^\w*$/)) {cx.marked = "variable"; return cont(ro);}
230 if (type == ":") return cont(comb, ro);
231 if (type == "}") return cont();
232 return cont(ro);
233 }
234 return ro;
235 }
236 function blockvars(type) {

Callers

nothing calls this directly

Calls 1

contFunction · 0.70

Tested by

no test coverage detected