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

Function letdef2

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

Source from the content-addressed store, hash-verified

259 return pass(pattern, maybetype, letdef1);
260 }
261 function letdef2(type) {
262 if (type.match(/[\]\)\};,]/)) return pass(letdef1);
263 else return pass(expression, letdef2);
264 }
265 function maybetype(type) {
266 if (type == ":") return cont(typecx, rtype, valcx);
267 return pass();

Callers

nothing calls this directly

Calls 1

passFunction · 0.70

Tested by

no test coverage detected