go/ast.IndexExpr.Lbrack (field)
6 uses
go/ast (current package)
ast.go#L336: Lbrack token.Pos // position of "["
go/parser
parser.go#L1258: return &ast.IndexExpr{X: x, Lbrack: lbrack, Index: index[0], Rbrack: rbrack}
go/printer
nodes.go#L833: p.print(x.Lbrack, token.LBRACK)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2080: if x.Lbrack != 0 {
encode_ast.gen.go#L2082: e.EncodeInt(int64(x.Lbrack))
encode_ast.gen.go#L2115: x.Lbrack = 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. |