Module dev.civl.mc

Interface CIVLArrayType

All Superinterfaces:
CIVLType
All Known Subinterfaces:
CIVLCompleteArrayType

public interface CIVLArrayType extends CIVLType
The type for an array of T.
  • Method Details

    • elementType

      CIVLType elementType()
      Returns:
      The type of elements in this array.
    • isComplete

      boolean isComplete()
      Returns:
      Is this a complete array type? (i.e. is the length specified?)
    • hasConstantLength

      boolean hasConstantLength()
      Returns:
      true iff this array type is complete and has compile-time constant array length
    • dimension

      int dimension()
      computes the dimension of this array type.
      Returns:
      the dimension of this array type.