| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | evaluate(Object
The namespace against which the expression will be evaluated. namespace)Implements abstract com. Evaluates the expression. |
| protected void | getArguments(List<KeyPath> arguments)
Implements abstract com. Populates a list of arguments to this expression. |
| public KeyPath | |
| public boolean | isDefined(Object
The namespace against which the expression will be evaluated. namespace)Implements abstract com. Tests whether the expression is defined. |
| public boolean | isLValue()
Implements abstract com. Tests whether the expression represents an l-value (i.e. can be assigned to). |
| public String | |
| public void | update(Object
The namespace against which the expression will be evaluated. namespace, Object The value to assign to the expression. value)Implements abstract com. Updates the expression value. |
| keyPath | back to summary |
|---|---|
| private KeyPath keyPath | |
| VariableExpression | back to summary |
|---|---|
| public VariableExpression(KeyPath keyPath) | |
| evaluate | back to summary |
|---|---|
| public Object evaluate(Object namespace) Implements abstract com. Doc from com. Evaluates the expression. | |
| getArguments | back to summary |
|---|---|
| protected void getArguments(List<KeyPath> arguments) Implements abstract com. Doc from com. Populates a list of arguments to this expression.
| |
| getKeyPath | back to summary |
|---|---|
| public KeyPath getKeyPath() Returns the path to the variable associated with this expression. | |
| isDefined | back to summary |
|---|---|
| public boolean isDefined(Object namespace) Implements abstract com. Doc from com. Tests whether the expression is defined. | |
| isLValue | back to summary |
|---|---|
| public boolean isLValue() Implements abstract com. Doc from com. Tests whether the expression represents an l-value (i.e. can be assigned to).
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| update | back to summary |
|---|---|
| public void update(Object namespace, Object value) Implements abstract com. Doc from com. Updates the expression value. | |