public class ArithmeticBinaryExpression extends Expression
Modifier and Type | Class and Description |
---|---|
static class |
ArithmeticBinaryExpression.Operator |
Constructor and Description |
---|
ArithmeticBinaryExpression(ArithmeticBinaryExpression.Operator operator,
Expression left,
Expression right) |
ArithmeticBinaryExpression(NodeLocation location,
ArithmeticBinaryExpression.Operator operator,
Expression left,
Expression right) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor , use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object o) |
List<Node> |
getChildren() |
Expression |
getLeft() |
ArithmeticBinaryExpression.Operator |
getOperator() |
Expression |
getRight() |
int |
hashCode() |
toString
getLocation
public ArithmeticBinaryExpression(ArithmeticBinaryExpression.Operator operator, Expression left, Expression right)
public ArithmeticBinaryExpression(NodeLocation location, ArithmeticBinaryExpression.Operator operator, Expression left, Expression right)
public ArithmeticBinaryExpression.Operator getOperator()
public Expression getLeft()
public Expression getRight()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Expression
AstVisitor
, use AstVisitor.process(Node, Object)
instead.accept
in class Expression
public List<Node> getChildren()
getChildren
in class Node
Copyright © 2012–2020. All rights reserved.