go/src/cmd/compile/internal/types2/array.go

type Array

// NewArray returns a new array type for the given element type and length.
// A negative length indicates an unknown length.
func NewArray(elem Type, len int64) *Array {}

// Len returns the length of array a.
// A negative result indicates an unknown length.
func (a *Array) Len() int64 {}

// Elem returns element type of array a.
func (a *Array) Elem() Type {}

func (a *Array) Underlying() Type {}

func (a *Array) String() string   {}