|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface used by the expression parser for identifier lookup.
An object implementing this interface represents the set of identifiers that can be used in an expression being evaluated.
PtParser| Method Summary | |
Token |
get(java.lang.String name)
Look up and return the value with the specified name in the scope. |
Type |
getType(java.lang.String name)
Look up and return the type of the value with the specified name in the scope. |
InequalityTerm |
getTypeTerm(java.lang.String name)
Look up and return the type term for the specified name in the scope. |
java.util.Set |
identifierSet()
Return a list of names corresponding to the identifiers defined by this scope. |
| Method Detail |
public Token get(java.lang.String name)
throws IllegalActionException
IllegalActionException - If a value in the scope
exists with the given name, but cannot be evaluated.
public Type getType(java.lang.String name)
throws IllegalActionException
IllegalActionException - If a value in the scope
exists with the given name, but cannot be evaluated.
public InequalityTerm getTypeTerm(java.lang.String name)
throws IllegalActionException
IllegalActionException - If a value in the scope
exists with the given name, but cannot be evaluated.
public java.util.Set identifierSet()
throws IllegalActionException
IllegalActionException - If constructing the list causes
it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||