public abstract class SymbolTable
extends java.lang.Object
Constructor and Description |
---|
SymbolTable() |
Modifier and Type | Method and Description |
---|---|
SymbolTable |
cloneTable(SymbolTable s)
makes s a clone of the symbol table, the clone is a shallow copy
(the symbols in the table are not cloned)
|
java.util.Collection<Symbol> |
getSymbols()
Get all symbols.
|
public SymbolTable cloneTable(SymbolTable s)
s
- the symbol table which becomes a clone of this tablepublic java.util.Collection<Symbol> getSymbols()