go/ast.TypeSwitchStmt.Assign (field)
7 uses
go/ast (current package)
ast.go#L715: Assign Stmt // x := y.(type) or y.(type)
walk.go#L253: Walk(v, n.Assign)
go/parser
parser.go#L2051: return &ast.TypeSwitchStmt{Switch: pos, Init: s1, Assign: s2, Body: body}
go/printer
nodes.go#L1367: p.stmt(s.Assign, false)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3230: if x.Assign != nil {
encode_ast.gen.go#L3232: e.EncodeAny(x.Assign)
encode_ast.gen.go#L3263: x.Assign = 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. |