| |
|
| antlr.TokenManager
All known Subclasses: antlr.SimpleTokenManager,
TokenManager | interface TokenManager (Code) | | Interface that describes the set of defined tokens
|
getName | public String getName()(Code) | | Get the name of the token manager
|
getTokenStringAt | public String getTokenStringAt(int idx)(Code) | | Get a token string by index
|
getTokenSymbolElements | public Enumeration getTokenSymbolElements()(Code) | | Get an enumerator over the symbol table
|
getVocabulary | public Vector getVocabulary()(Code) | | Get the token vocabulary (read-only).
A Vector of Strings indexed by token type |
isReadOnly | public boolean isReadOnly()(Code) | | Is this token manager read-only?
|
maxTokenType | public int maxTokenType()(Code) | | Get the highest token type in use
|
nextTokenType | public int nextTokenType()(Code) | | Get the next unused token type
|
setReadOnly | public void setReadOnly(boolean ro)(Code) | | |
tokenDefined | public boolean tokenDefined(String symbol)(Code) | | Is a token symbol defined?
|
|
|
|