|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Context interface represents a context in which an expression in a program should be
evaluated. It provides the environmental bindings necessary to resolve variable references within computed
expressions.
| Method Summary | |
Register |
getRegister(AbstractToken ident)
The getRegister() method resolves a register that may have been renamed earlier in the
program. |
int |
getVariable(AbstractToken ident)
The getVariable() method looks up the value of a named constant within the current
environment and returns its value. |
| Method Detail |
public Register getRegister(AbstractToken ident)
getRegister() method resolves a register that may have been renamed earlier in the
program.
ident - the string name of the register or register alias
Register instance representing the register with the specified
name or aliaspublic int getVariable(AbstractToken ident)
getVariable() method looks up the value of a named constant within the current
environment and returns its value.
ident - the name of the variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||