@Override public void visitBlock(Block block) { pushBlockTable(block); definedInBlock(block.getReferenceTable().ownedSymbols(), block); for (GoloStatement statement : block.getStatements()) { statement.accept(this); } dropBlockTable(); }
@Override public void visitBlock(Block block) { incr(); space(); System.out.println("Block"); incr(); for (LocalReference ref : block.getReferenceTable().references()) { space(); System.out.println(" - " + ref); } decr(); for (GoloStatement statement : block.getStatements()) { statement.accept(this); } decr(); }