Class UCExpr

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class UCExpr
    extends CheckExpr
    UPExpr represents an update check opcode which checks the persistent store to determine if a variable needs to be updated.
    • Constructor Detail

      • UCExpr

        public UCExpr​(Expr expr,
                      int kind,
                      Type type)
        Constructor.
        Parameters:
        expr - The expression to check to see if it needs to be updated.
        kind - The kind of expression (POINTER or SCALAR) to be checked.
        type - The type of this expression.
    • Method Detail

      • kind

        public int kind()
      • equalsExpr

        public boolean equalsExpr​(Expr other)
        Description copied from class: Expr
        Compares this expression to another.
        Overrides:
        equalsExpr in class CheckExpr
        Parameters:
        other - Expr to which to compare this.
      • clone

        public java.lang.Object clone()
        Specified by:
        clone in class Expr