public boolean visit(ForInStatement node) { this.fBuffer.append("for ("); // $NON-NLS-1$ if (node.getIterationVariable() != null) { node.getIterationVariable().accept(this); } this.fBuffer.append(" in "); // $NON-NLS-1$ if (node.getCollection() != null) { node.getCollection().accept(this); } this.fBuffer.append(") "); // $NON-NLS-1$ node.getBody().accept(this); return false; }
public boolean visit(ForInStatement node) { fScopes.add(fScope); fScope = new Scope(fScope, node.getStartPosition(), node.getLength()); return true; }