MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / statements

Function statements

lib/web/jshint.js:20636–20653  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20634
20635
20636 function statements() {
20637 var a = [], p;
20638
20639 while (!state.tokens.next.reach && state.tokens.next.id !== "(end)") {
20640 if (state.tokens.next.id === ";") {
20641 p = peek();
20642
20643 if (!p || (p.id !== "(" && p.id !== "[")) {
20644 warning("W032");
20645 }
20646
20647 advance(";");
20648 } else {
20649 a.push(statement());
20650 }
20651 }
20652 return a;
20653 }
20654
20655
20656 /*

Callers 4

blockFunction · 0.85
jshint.jsFile · 0.85
itselfFunction · 0.85

Calls 5

peekFunction · 0.85
warningFunction · 0.85
advanceFunction · 0.70
statementFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected