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

Function endstatement

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

Source from the content-addressed store, hash-verified

186 return pass(pushlex("stat"), expression, poplex, endstatement, block);
187 }
188 function endstatement(type) {
189 if (type == ";") return cont();
190 return pass();
191 }
192 function expression(type) {
193 if (type == "atom" || type == "name") return cont(maybeop);
194 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