go/ast.SliceExpr.Max (field)
9 uses
go/ast (current package)
ast.go#L347: Max Expr // maximum capacity of slice; or nil
walk.go#L125: if n.Max != nil {
walk.go#L126: Walk(v, n.Max)
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#L842: if x.Max != nil {
nodes.go#L843: indices = append(indices, x.Max)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2830: if x.Max != nil {
encode_ast.gen.go#L2832: e.EncodeAny(x.Max)
encode_ast.gen.go#L2871: x.Max = d.DecodeAny().(ast.Expr)
![]() |
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. |