go/ast.BlockStmt.List (field)
22 uses
go/ast (current package)
ast.go#L682: List []Stmt
ast.go#L810: if n := len(s.List); n > 0 {
ast.go#L811: return s.List[n-1].End()
walk.go#L224: walkStmtList(v, n.List)
go/doc
example.go#L424: List: body.List,
go/parser
parser.go#L1099: return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L1113: return &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L2048: body := &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
parser.go#L2128: body := &ast.BlockStmt{Lbrace: lbrace, List: list, Rbrace: rbrace}
go/printer
nodes.go#L1116: p.stmtList(b.List, nindent, true)
nodes.go#L1384: if len(body.List) == 0 && !p.commentBefore(p.posFor(body.Rbrace)) {
nodes.go#L1700: if len(b.List) > 5 {
nodes.go#L1706: for i, s := range b.List {
nodes.go#L1738: if len(b.List) > 0 {
nodes.go#L1740: for i, s := range b.List {
nodes.go#L1744: p.stmt(s, i == len(b.List)-1)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L446: if x.List != nil {
encode_ast.gen.go#L448: encode_slice_ast_Stmt(e, x.List)
encode_ast.gen.go#L477: decode_slice_ast_Stmt(d, &x.List)
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L541: List: body.List,
 |
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. |