type go/types.Array
42 uses
go/types (current package)
array.go#L8: type Array struct {
array.go#L15: func NewArray(elem Type, len int64) *Array { return &Array{len: len, elem: elem} }
array.go#L19: func (a *Array) Len() int64 { return a.len }
array.go#L22: func (a *Array) Elem() Type { return a.elem }
array.go#L24: func (t *Array) Underlying() Type { return t }
array.go#L25: func (t *Array) String() string { return TypeString(t, nil) }
builtins.go#L172: case *Array:
builtins.go#L205: case *Array, *Slice, *Chan:
builtins.go#L804: case *Array:
builtins.go#L895: if a, _ := under(p.base).(*Array); a != nil {
conversions.go#L191: if a, _ := under(p.Elem()).(*Array); a != nil {
expr.go#L871: case *Array:
expr.go#L1330: typ = &Array{len: -1, elem: check.varType(atyp.Elt)}
expr.go#L1427: case *Array:
index.go#L67: case *Array:
index.go#L76: if typ, _ := under(typ.base).(*Array); typ != nil {
index.go#L120: case *Array:
index.go#L127: if t, _ := under(t.base).(*Array); t != nil {
index.go#L246: case *Array:
index.go#L257: if u, _ := under(u.base).(*Array); u != nil {
infer.go#L385: case *Array:
infer.go#L724: case *Array:
mono.go#L226: case *Array:
predicates.go#L138: case *Array:
predicates.go#L192: case *Array:
predicates.go#L195: if y, ok := y.(*Array); ok {
sizes.go#L52: case *Array:
sizes.go#L138: case *Array:
stmt.go#L946: case *Array:
subst.go#L91: case *Array:
subst.go#L94: return &Array{len: t.len, elem: elem}
typestring.go#L142: case *Array:
typexpr.go#L296: typ := new(Array)
unify.go#L404: case *Array:
unify.go#L407: if y, ok := y.(*Array); ok {
validtype.go#L39: case *Array:
golang.org/x/exp/apidiff
correspondence.go#L35: case *types.Array:
correspondence.go#L36: if new, ok := new.(*types.Array); ok {
golang.org/x/tools/internal/gcimporter
bexport.go#L342: case *types.Array:
bimport.go#L482: t := new(types.Array)
iexport.go#L740: case *types.Array: