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

Function endstatement

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

Source from the content-addressed store, hash-verified

199 return pass(pushlex("stat"), expression, poplex, endstatement, block);
200 }
201 function endstatement(type) {
202 if (type == ";") return cont();
203 return pass();
204 }
205 function expression(type) {
206 if (type == "atom" || type == "name") return cont(maybeop);
207 if (type == "{") return cont(pushlex("}"), exprbrace, poplex);

Callers

nothing calls this directly

Calls 2

contFunction · 0.70
passFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…