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 |
info, 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) |
static MultiExpression |
fromExpressionList(Operator operator,
List<Expression> list) |
int |
hashCode() |
String |
toString() |
getInfo, isPathExpression, isSuffix, setInfo
public MultiExpression(Operator operator, List<Operand> values)
public static MultiExpression fromExpressionList(Operator operator, List<Expression> list)
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 © 2018 Nuxeo. All rights reserved.