// This code dumps the symbol table in a human-readable format. SymbolTable { traversal allSymbols (DumpSymbolTableVisitor) { to *; } } DumpSymbolTableVisitor { after Symbol {{ System.out.println(); }} before Varname {{ System.out.print (host.get_v().toString()); }} before Asset {{ System.out.print (" asset"); }} before Liability {{ System.out.print (" liability"); }} before Value {{ System.out.print (" = " + host.get_v()); }} }