|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.rdc.TokenList | +--com.neoworks.rdc.SymbolTable
A class to represent a symbol table. The table uses tokens to represent the identifiers held in it.
This is realy a TokenList but its nicer to call it a SymbolTable when it is a symbol table ok!
Token
Field Summary |
Fields inherited from class com.neoworks.rdc.TokenList |
tokenData |
Constructor Summary | |
SymbolTable(java.util.Vector newTokenList)
Create a new symbol table using the tokens passed. |
Method Summary | |
int |
isInTable(Token findToken)
Checks if a token is in the SymbolTable. |
Methods inherited from class com.neoworks.rdc.TokenList |
addToken, getSize, getTokenAt, removeTokenAt, tokenIsIn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SymbolTable(java.util.Vector newTokenList)
Method Detail |
public int isInTable(Token findToken)
findToken
- The token to look for in the table
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |