public final class AndExpression extends BinaryValueExpression
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
operator |
static int |
precedence |
first, second| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
static AndExpression |
construct(ValueExpression first,
ValueExpression second)
Construct a logical conjunction.
|
java.lang.String |
getOperator()
Get textual representation of operator.
|
int |
getPrecedence()
Get precedence value of the expression operator
(higher precedence value means higher binding power)
|
accept, acceptChildrenaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitprint, printCore, toString, toStringCorepublic static final int precedence
public static final java.lang.String operator
public static AndExpression construct(ValueExpression first, ValueExpression second)
first - the first (left) part.second - the right (second) part.public int getPrecedence()
public java.lang.String getOperator()
getOperator in class BinaryValueExpressionpublic void accept(ASTVisitor visitor)
accept in interface ASTaccept in class BinaryValueExpressionvisitor - the visitor who is accepted by this node.