go/ast.IndexListExpr.Indices (field)
28 uses
go/ast (current package)
ast.go#L349: Indices []Expr // index expressions
walk.go#L121: for _, index := range n.Indices {
go/doc
reader.go#L41: if len(t.Indices) > 0 {
reader.go#L45: b.WriteString(recvParam(t.Indices[0]))
reader.go#L46: for _, e := range t.Indices[1:] {
go/internal/typeparams
typeparams.go#L27: Indices: exprs,
typeparams.go#L47: Indices: []ast.Expr{e.Index},
go/parser
resolver.go#L558: declareExprs = typ.Indices
go/printer
nodes.go#L895: p.exprList(x.Lbrack, x.Indices, depth+1, commaTerm, x.Rbrack, false)
go/types
call.go#L24: targs := check.typeList(ix.Indices)
call.go#L30: assert(len(targs) == len(ix.Indices))
call.go#L36: check.errorf(ix.Indices[got-1], _WrongTypeArgCount, "got %d type arguments but want %d", got, want)
call.go#L55: res := check.instantiateSignature(x.Pos(), sig, targs, ix.Indices)
call.go#L186: xlist = ix.Indices
exprstring.go#L74: writeExprList(buf, ix.Indices)
index.go#L24: check.use(e.Indices...)
index.go#L332: if len(expr.Indices) == 0 {
index.go#L336: if len(expr.Indices) > 1 {
index.go#L338: check.invalidOp(expr.Indices[1], _InvalidIndex, "more than one index")
index.go#L340: return expr.Indices[0]
resolver.go#L520: for _, arg := range ix.Indices {
typexpr.go#L396: check.trace(pos, "-- instantiating %s with %s", ix.X, ix.Indices)
typexpr.go#L420: targs := check.typeList(ix.Indices)
typexpr.go#L479: if i < len(ix.Indices) {
typexpr.go#L480: pos = ix.Indices[i].Pos()
typexpr.go#L484: check.mono.recordInstance(check.pkg, pos, inst.tparams.list(), inst.targs.list(), ix.Indices)
golang.org/x/tools/internal/typeparams
common.go#L45: return e.X, e.Lbrack, e.Indices, e.Rbrack
common.go#L68: Indices: indices,