| Modifier and Type | Field and Description |
|---|---|
| private final BiFunction | |
| private final Expression | |
| private final Expression |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public T | evaluate(Object 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 boolean | isDefined(Object 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 void | update(Object namespace, Object value)
Implements abstract com. Updates the expression value. |
| evaluator | back to summary |
|---|---|
| private final BiFunction<U, U, T> evaluator | |
| left | back to summary |
|---|---|
| private final Expression<U> left | |
| right | back to summary |
|---|---|
| private final Expression<U> right | |
| BinaryExpression | back to summary |
|---|---|
| public BinaryExpression(Expression<U> left, Expression<U> right, BiFunction<U, U, T> evaluator) | |
| evaluate | back to summary |
|---|---|
| public T 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.
| |
| 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).
| |
| update | back to summary |
|---|---|
| public void update(Object namespace, Object value) Implements abstract com. Doc from com. Updates the expression value.
| |