public final class BinaryExpr extends Expression
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryExpr.Operator |
| Constructor and Description |
|---|
BinaryExpr() |
BinaryExpr(Expression left,
Expression right,
BinaryExpr.Operator op) |
BinaryExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression left,
Expression right,
BinaryExpr.Operator op) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
BinaryExpr |
clone() |
List<Node> |
getChildren() |
Expression |
getLeft() |
BinaryExpr.Operator |
getOperator() |
Expression |
getRight() |
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setLeft(Expression left) |
void |
setOperator(BinaryExpr.Operator op) |
void |
setRight(Expression right) |
getSymbolData, setSymbolDatacheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic BinaryExpr()
public BinaryExpr(Expression left, Expression right, BinaryExpr.Operator op)
public BinaryExpr(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression left,
Expression right,
BinaryExpr.Operator op)
public boolean removeChild(Node child)
removeChild in class Nodepublic List<Node> getChildren()
getChildren in class Expressionpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic Expression getLeft()
public BinaryExpr.Operator getOperator()
public Expression getRight()
public void setLeft(Expression left)
public void setOperator(BinaryExpr.Operator op)
public void setRight(Expression right)
public boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic BinaryExpr clone() throws CloneNotSupportedException
clone in class ExpressionCloneNotSupportedExceptionCopyright © 2018. All rights reserved.