|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.spi.persistence.support.ejb.ejbqlc.SymbolTable
public class SymbolTable
The symbol table handling declared identifies.
| Field Summary | |
|---|---|
protected java.util.Map |
symbols
The table of declared identifier (symbols). |
| Constructor Summary | |
|---|---|
SymbolTable()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
declare(java.lang.String ident,
java.lang.Object decl)
This method adds the specified identifier to this SymbolTable. |
java.lang.Object |
getDeclaration(java.lang.String ident)
Checks the symbol table for the actual declaration of the specified identifier. |
boolean |
isDeclared(java.lang.String ident)
Checks whether the specified identifier is declared. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map symbols
| Constructor Detail |
|---|
public SymbolTable()
| Method Detail |
|---|
public java.lang.Object declare(java.lang.String ident,
java.lang.Object decl)
null is returned.
ident - identifier to be declareddecl - new definition of identifier
null otherwisepublic boolean isDeclared(java.lang.String ident)
ident - the name of identifier to be tested
true if the identifier is declared;
false otherwise.public java.lang.Object getDeclaration(java.lang.String ident)
null for an undeclared identifier.
ident - the name of identifier
null otherise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||