Class AssignExpr

All Implemented Interfaces:
Serializable, TokenId

public class AssignExpr extends Expr
Assignment expression.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      default serialVersionUID
      See Also:
  • Constructor Details

    • AssignExpr

      private AssignExpr(int op, ASTree _head, ASTList _tail)
  • Method Details

    • makeAssign

      public static AssignExpr makeAssign(int op, ASTree oprand1, ASTree oprand2)
    • accept

      public void accept(Visitor v) throws CompileError
      Description copied from class: ASTree
      Is a method for the visitor pattern. It calls atXXX() on the given visitor, where XXX is the class name of the node object.
      Overrides:
      accept in class Expr
      Throws:
      CompileError