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<Operand> |
values |
lvalue, operator, rvalue
Constructor and Description |
---|
MultiExpression(Operator operator,
List<Operand> values) |
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() |
isPathExpression, isSuffix
public MultiExpression(Operator operator, List<Operand> values)
public void accept(IVisitor visitor)
ASTNode
accept
in interface ASTNode
accept
in class Expression
visitor
- the AST node visitorpublic String toString()
toString
in class Expression
public boolean equals(Object other)
equals
in class Expression
protected boolean equals(MultiExpression other)
public int hashCode()
hashCode
in class Expression
Copyright © 2015 Nuxeo SA. All rights reserved.