Class BinOp
- java.lang.Object
-
- io.github.danielnaczo.python3parser.model.stmts.Statement
-
- io.github.danielnaczo.python3parser.model.expr.Expression
-
- io.github.danielnaczo.python3parser.model.expr.operators.Operator
-
- io.github.danielnaczo.python3parser.model.expr.operators.binaryops.BinOp
-
-
Constructor Summary
Constructors Constructor Description BinOp()BinOp(Expression left, Expression right)BinOp(java.lang.String left, java.lang.String right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(Python3ASTVisitor<R,P> visitor, P param)booleanequals(java.lang.Object o)ExpressiongetLeft()ExpressiongetRight()inthashCode()voidsetLeft(Expression left)voidsetRight(Expression right)-
Methods inherited from class io.github.danielnaczo.python3parser.model.expr.Expression
getParent, getPrecedence, setParent
-
-
-
-
Constructor Detail
-
BinOp
public BinOp(java.lang.String left, java.lang.String right)
-
BinOp
public BinOp(Expression left, Expression right)
-
BinOp
public BinOp()
-
-
Method Detail
-
getLeft
public Expression getLeft()
-
setLeft
public void setLeft(Expression left)
-
getRight
public Expression getRight()
-
setRight
public void setRight(Expression right)
-
accept
public <R,P> R accept(Python3ASTVisitor<R,P> visitor, P param)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-