|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbyucc.edif.libraries.xilinx.SymbolTable
public class SymbolTable
Used for building the symbol tables.
| Field Summary | |
|---|---|
(package private) java.lang.String |
block_name
|
(package private) java.util.Vector |
symbols
Vector, where the symbols are stored. |
(package private) SymbolTable |
upper_symtab
Hierarchie of symbol tables is stored using this variable. |
| Constructor Summary | |
|---|---|
SymbolTable()
|
|
| Method Summary | |
|---|---|
void |
addSymbol(Symbol s)
Add an identifier to symbol table |
void |
dump()
dump the symbol table |
void |
endBlock(java.lang.String identifier)
End a block with identifier identifier. |
Symbol |
getSymbol(java.lang.String identifier)
Get a symbol from the symbol table |
void |
newBlock(java.lang.String identifier)
Start a new Block |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
java.util.Vector symbols
SymbolTable upper_symtab
java.lang.String block_name
| Constructor Detail |
|---|
public SymbolTable()
| Method Detail |
|---|
public void addSymbol(Symbol s)
public Symbol getSymbol(java.lang.String identifier)
public void newBlock(java.lang.String identifier)
public void endBlock(java.lang.String identifier)
public void dump()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||