go/ast.IndexExpr.Rbrack (field)
7 uses
go/ast (current package)
ast.go#L338: Rbrack token.Pos // position of "]"
ast.go#L515: func (x *IndexExpr) End() token.Pos { return x.Rbrack + 1 }
go/parser
parser.go#L1258: return &ast.IndexExpr{X: x, Lbrack: lbrack, Index: index[0], Rbrack: rbrack}
go/printer
nodes.go#L835: p.print(x.Rbrack, token.RBRACK)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2088: if x.Rbrack != 0 {
encode_ast.gen.go#L2090: e.EncodeInt(int64(x.Rbrack))
encode_ast.gen.go#L2119: x.Rbrack = token.Pos(d.DecodeInt())
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |