Class Element

    • Constructor Detail

      • Element

        public Element​(ValueType type,
                       List<List<Instruction>> initializers)
        Construct a new instance.
        Parameters:
        type - the type of the element values (must not be null)
        initializers - the list of instruction lists which are used to initialize each element in the range (must not be null)
    • Method Detail

      • type

        public ValueType type()
        Returns:
        the type of the element values
      • initializers

        public List<List<Instruction>> initializers()
        Returns:
        the list of instruction lists which are used to initialize each element in the range
      • elementCount

        public int elementCount()
        This value is equal to the number of initializers present.
        Returns:
        the number of elements defined by this section