Class NewMultiArray

java.lang.Object
pascal.taie.ir.exp.NewMultiArray
All Implemented Interfaces:
Serializable, Exp, NewExp, RValue

public class NewMultiArray extends Object implements NewExp
Representation of new multi-array expression, e.g., new T[..][..][..].
See Also:
  • Constructor Details

  • Method Details

    • getType

      public ArrayType getType()
      Specified by:
      getType in interface Exp
      Specified by:
      getType in interface NewExp
      Returns:
      type of this expression.
    • getLengthCount

      public int getLengthCount()
    • getLength

      public Var getLength(int i)
    • getLengths

      public List<Var> getLengths()
    • getUses

      public Set<RValue> getUses()
      Specified by:
      getUses in interface Exp
      Returns:
      a list of expressions which are used by (contained in) this Exp.
    • accept

      public <T> T accept(ExpVisitor<T> visitor)
      Specified by:
      accept in interface Exp
    • toString

      public String toString()
      Overrides:
      toString in class Object