| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectVariable
public class Variable
A Variable is a name used as an expression.
| Constructor Summary | |
|---|---|
Variable(java.lang.String name)
Creates a Variable with the specified name.  | 
|
| Method Summary | |
|---|---|
 java.lang.Object | 
eval(Environment env)
Evaluate this expression.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Variable(java.lang.String name)
name - the name for this variable| Method Detail | 
|---|
public java.lang.Object eval(Environment env)
Expression
eval in interface Expressionenv - the environment in which the expression should be evaluated
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||