|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The symboltable is created by the scanner and parser during parsing. All identifiers and strings of the sourceprogram are replaced by a number. In the symboltable, the relation between the number and the original string is stored
| Method Summary | |
void |
clear()
clears the symboltyble |
java.lang.String |
decode(IAtom index)
decodes the given word |
java.lang.String |
decode(int index)
decodes the given word |
int |
encode(java.lang.String word)
encodes the given word |
void |
genXml(java.io.Writer out)
generates xml representing the symboltable |
| Method Detail |
public void clear()
public int encode(java.lang.String word)
word - public java.lang.String decode(int index)
index - public java.lang.String decode(IAtom index)
index -
public void genXml(java.io.Writer out)
throws java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||