Modifier and Type | Field and Description |
---|---|
private Condition |
lhs |
private Condition |
rhs |
Constructor and Description |
---|
OrCondition(Condition lhs,
Condition rhs) |
Modifier and Type | Method and Description |
---|---|
AndCondition |
and(Condition that)
Returns a new condition based on the conjunction of the current condition
and the given condition.
|
(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.
|
java.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 methodpublic AndCondition and(Condition that)
Condition
boolean atomic()
Condition
int precedence()
Condition
precedence
in class Condition