コード例 #1
0
 @Override
 public void visit(final ForeachStmt n, final A arg) {
   visitComment(n.getComment(), arg);
   n.getVariable().accept(this, arg);
   n.getIterable().accept(this, arg);
   n.getBody().accept(this, arg);
 }
コード例 #2
0
ファイル: DefinitionVisitor.java プロジェクト: ElliotCP/701A2
 public void visit(ForeachStmt n, Object arg) {
   n.getVariable().accept(this, arg);
   n.getIterable().accept(this, arg);
   n.getBody().accept(this, arg);
 }