public final class BinaryOperation extends ExpressionStatement
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GoloIrVisitor visitor) |
ExpressionStatement |
getLeftExpression() |
ExpressionStatement |
getRightExpression() |
OperatorType |
getType() |
boolean |
isMethodCall() |
BinaryOperation |
left(java.lang.Object expr) |
static BinaryOperation |
of(java.lang.Object type) |
protected void |
replaceElement(GoloElement original,
GoloElement newElement) |
BinaryOperation |
right(java.lang.Object expr) |
java.lang.String |
toString() |
void |
walk(GoloIrVisitor visitor) |
cantConvert, cantReplace, cantReplace, doesNotContain, getASTNode, getDocumentation, getLocalReferenceTable, getParentNode, getPositionInSourceCode, hasASTNode, makeParentOf, ofAST, replaceInParentBy, setASTNode, setParentNodepublic static BinaryOperation of(java.lang.Object type)
public OperatorType getType()
public ExpressionStatement getLeftExpression()
public BinaryOperation left(java.lang.Object expr)
public BinaryOperation right(java.lang.Object expr)
public ExpressionStatement getRightExpression()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isMethodCall()
public void accept(GoloIrVisitor visitor)
accept in class GoloElementpublic void walk(GoloIrVisitor visitor)
walk in class GoloElementprotected void replaceElement(GoloElement original, GoloElement newElement)
replaceElement in class GoloElement