|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SymbolTableIF
Interfaz que ha de seguir la tabla de símbolos
Method Summary | |
---|---|
boolean |
containsSymbol(java.lang.String name)
Indicates whether the symbol is contained in the symbol table. |
boolean |
containsSymbol(SymbolIF symbol)
Indicates whether the symbol is contained in the symbol table. |
ScopeIF |
getScope()
Returns the scope of this Symbol table. |
SymbolIF |
getSymbol(java.lang.String name)
Returns a symbol from the symbol table. |
java.util.List |
getSymbols()
Returns the list of symbols. |
void |
setSymbol(java.lang.String name,
SymbolIF symbol)
Sets a symbol to the symbol table. |
Method Detail |
---|
boolean containsSymbol(java.lang.String name)
name
- The symbol name.
boolean containsSymbol(SymbolIF symbol)
symbol
- The symbol.
ScopeIF getScope()
SymbolIF getSymbol(java.lang.String name)
name
- the symbol key.java.util.List getSymbols()
void setSymbol(java.lang.String name, SymbolIF symbol)
name
- the symbol name.symbol
- the symbol.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |