Package org.teavm.ast

Class BinaryExpr

java.lang.Object
org.teavm.ast.Expr
org.teavm.ast.BinaryExpr
All Implemented Interfaces:
Cloneable

public class BinaryExpr extends Expr
  • Constructor Details

    • BinaryExpr

      public BinaryExpr()
  • Method Details

    • getOperation

      public BinaryOperation getOperation()
    • setOperation

      public void setOperation(BinaryOperation operation)
    • getFirstOperand

      public Expr getFirstOperand()
    • setFirstOperand

      public void setFirstOperand(Expr firstOperand)
    • getSecondOperand

      public Expr getSecondOperand()
    • setSecondOperand

      public void setSecondOperand(Expr secondOperand)
    • getType

      public OperationType getType()
    • setType

      public void setType(OperationType type)
    • acceptVisitor

      public void acceptVisitor(ExprVisitor visitor)
      Specified by:
      acceptVisitor in class Expr
    • clone

      protected Expr clone(Map<Expr,Expr> cache)
      Specified by:
      clone in class Expr