go/ast.ArrayType.Len (field)
11 uses
go/ast (current package)
ast.go#L424: Len Expr // Ellipsis node for [...]T array types, nil for slice types
walk.go#L155: if n.Len != nil {
walk.go#L156: Walk(v, n.Len)
go/parser
parser.go#L685: return &ast.ArrayType{Lbrack: lbrack, Len: len, Elt: elt}
parser.go#L1462: if len, isEllipsis := t.Len.(*ast.Ellipsis); isEllipsis {
go/printer
nodes.go#L936: if x.Len != nil {
nodes.go#L937: p.expr(x.Len)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L25: if x.Len != nil {
encode_ast.gen.go#L27: e.EncodeAny(x.Len)
encode_ast.gen.go#L56: x.Len = d.DecodeAny().(ast.Expr)
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
synopsis.go#L134: length := OneLineNodeDepth(fset, n.Len, depth)
![]() |
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. |