MCPcopy Create free account
hub / github.com/chibash/stone / isControlStmnt

Method isControlStmnt

src/chap14/ToJava.java:185–188  ·  view source on GitHub ↗
(ASTree tree)

Source from the content-addressed store, hash-verified

183 return tree instanceof PrimaryExpr || tree instanceof VarStmnt;
184 }
185 protected static boolean isControlStmnt(ASTree tree) {
186 return tree instanceof BlockStmnt || tree instanceof IfStmnt
187 || tree instanceof WhileStmnt;
188 }
189 }
190 @Reviser public static class IfEx extends IfStmnt {
191 public IfEx(List<ASTree> c) { super(c); }

Callers 1

translateStmntMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected