public final class Expression extends Object implements AutoCloseable
A condition is a case of an expression that always returns a boolean value.
Modifier and Type | Method and Description |
---|---|
void |
accept(IExpressionVisitor visitor)
An expression accepts a visitor allowing to traverse the expression hierarchy.
|
void |
close() |
boolean |
equals(Object other) |
protected void |
finalize() |
int |
hashCode() |
boolean |
isCondition()
Returns
true when this expression is a condition. |
public void close()
close
in interface AutoCloseable
public boolean isCondition()
true
when this expression is a condition.
This is the case when the evaluation of the expression always results in a boolean.
true
when this expression is a condition.public void accept(@NotNull IExpressionVisitor visitor)
visitor
- the visitor.