MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / skipBlock

Method skipBlock

ij/src/main/java/ij/macro/Interpreter.java:774–787  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

772 }
773
774 final void skipBlock() {
775 int count = 0;
776 do {
777 getToken();
778 if (token=='{')
779 count++;
780 else if (token=='}')
781 count--;
782 else if (done) {
783 error("'}' expected");
784 return;
785 }
786 } while (count>0);
787 }
788
789 final void skipParens() {
790 int count = 0;

Callers 3

skipStatementMethod · 0.95
skipFunctionMethod · 0.95
skipMacroMethod · 0.95

Calls 2

getTokenMethod · 0.95
errorMethod · 0.95

Tested by

no test coverage detected