go/ast.SliceExpr.Lbrack (field)
6 uses
go/ast (current package)
ast.go#L344: Lbrack token.Pos // position of "["
go/parser
parser.go#L1255: return &ast.SliceExpr{X: x, Lbrack: lbrack, Low: index[0], High: index[1], Max: index[2], Slice3: slice3, Rbrack: rbrack}
go/printer
nodes.go#L840: p.print(x.Lbrack, token.LBRACK)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2818: if x.Lbrack != 0 {
encode_ast.gen.go#L2820: e.EncodeInt(int64(x.Lbrack))
encode_ast.gen.go#L2865: 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. |