Class Overview
Represents a DOT separated expression sequence, such as 'property1.property2.methodOne()'
Public Constructors
Public Methods
Evalutes a compound expression. This involves evaluating each piece in turn and the return value from each piece
is the active context object for the subsequent piece.
Parameters
state
| the state in which the expression is being evaluated |
Returns
- the final value from the last piece of the compound expression
public
boolean
isWritable
(ExpressionState state)
Determine if this expression node will support a setValue() call.
Parameters
state
| the current expression state (includes the context) |
Returns
- true if the expression node will allow setValue()
Evaluate the expression to a node and then set the new value on that node. For example, if the expression
evaluates to a property reference then the property will be set to the new value.
Parameters
state
| the current expression state (includes the context) |
value
| the new value |