The IndexAddr instruction yields the address of the element at index Index of collection X. Index is an integer expression.

The elements of maps and strings are not addressable; use Lookup or MapUpdate instead.

Dynamically, this instruction panics if X evaluates to a nil *array pointer.

Type() returns a (possibly named) *types.Pointer.

Pos() returns the ast.IndexExpr.Lbrack for the index operation, if explicit in the source.

Example printed form:

t2 = &t0[t1]