public final class ParamSymbolTable<S extends ParamSymbol>
extends java.lang.Object
| Constructor and Description |
|---|
ParamSymbolTable(ErrorStream error)
Construct symbol table with denoted error stream.
|
| Modifier and Type | Method and Description |
|---|---|
S |
get(Identifier ikey,
TypeExpression[] tkey)
Returns symbol associated to key consisting of an identifier and
a sequence of types and links key to symbol.
|
java.util.Collection<S> |
getSymbols()
Return collection of symbols in table.
|
boolean |
put(S value)
Puts symbol into table to be looked up for the symbol's
name and argument types.
|
public ParamSymbolTable(ErrorStream error)
public java.util.Collection<S> getSymbols()
public boolean put(S value)
value - the symbol.public S get(Identifier ikey, TypeExpression[] tkey)
ikey - the identifier part of the key.tkey - the type sequence part of the key.