Modifier and Type | Field and Description |
---|---|
private PathOperand |
attribute |
private java.util.List<? extends Operand> |
operands |
Constructor and Description |
---|
InCondition(PathOperand attribute,
java.util.List<? extends Operand> operands) |
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
asSubstituted(SubstitutionContext context)
Returns this unit of expression as a string substituted if necessary with
tokens using the given substitution context.
|
(package private) boolean |
atomic()
A condition is considered "atomic" if appending an additional AND condition
would not alter the evaluation order of the original condition;
false otherwise.
|
(package private) int |
precedence()
Returns the precedence of this condition.
|
private final PathOperand attribute
private final java.util.List<? extends Operand> operands
InCondition(PathOperand attribute, java.util.List<? extends Operand> operands)
operands
- assumed to be allocated on the stack so it will remain
externally unmodifiablejava.lang.String asSubstituted(SubstitutionContext context)
UnitOfExpression
asSubstituted
in class UnitOfExpression
context
- the substitution context which may get mutated as a side
effect upon completion of this methodboolean atomic()
Condition
int precedence()
Condition
precedence
in class Condition