go/ast.ForStmt.Init (field)
8 uses
go/ast (current package)
ast.go#L736: Init Stmt // initialization statement; or nil
walk.go#L266: if n.Init != nil {
walk.go#L267: Walk(v, n.Init)
go/parser
parser.go#L2209: Init: s1,
go/printer
nodes.go#L1393: p.controlClause(true, s.Init, s.Cond, s.Post)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1416: if x.Init != nil {
encode_ast.gen.go#L1418: e.EncodeAny(x.Init)
encode_ast.gen.go#L1455: x.Init = d.DecodeAny().(ast.Stmt)
![]() |
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. |