public class MultiExpression extends Predicate
It extends Predicate but it's really not a real Predicate (some users of Predicate expect it to have lvalue
and rvalue fields, which are null in this class).
| Modifier and Type | Field and Description |
|---|---|
List<Predicate> |
predicates |
info, lvalue, operator, rvalue| Constructor and Description |
|---|
MultiExpression(MultiExpression other)
Copy constructor.
|
MultiExpression(Operator operator,
List<Predicate> predicates) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IVisitor visitor)
Accept the given visitor.
|
protected boolean |
equals(MultiExpression other) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
getInfo, isPathExpression, isSuffix, setInfopublic final List<Predicate> predicates
public MultiExpression(Operator operator, List<Predicate> predicates)
public MultiExpression(MultiExpression other)
public void accept(IVisitor visitor)
ASTNodeaccept in interface ASTNodeaccept in class Expressionvisitor - the AST node visitorpublic String toString()
toString in class Expressionpublic boolean equals(Object other)
equals in class Expressionprotected boolean equals(MultiExpression other)
public int hashCode()
hashCode in class ExpressionCopyright © 2019 Nuxeo. All rights reserved.