type go/ast.SwitchStmt
14 uses
go/ast (current package)
ast.go#L704: SwitchStmt struct {
ast.go#L770: func (s *SwitchStmt) Pos() token.Pos { return s.Switch }
ast.go#L827: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L857: func (*SwitchStmt) stmtNode() {}
walk.go#L240: case *SwitchStmt:
go/parser
parser.go#L2054: return &ast.SwitchStmt{Switch: pos, Init: s1, Tag: p.makeExpr(s2, "switch expression"), Body: body}
go/printer
nodes.go#L1354: case *ast.SwitchStmt:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3011: func encode_ast_SwitchStmt(e *codec.Encoder, x *ast.SwitchStmt) {
encode_ast.gen.go#L3034: func decode_ast_SwitchStmt(d *codec.Decoder, p **ast.SwitchStmt) {
encode_ast.gen.go#L3040: *p = ref.(*ast.SwitchStmt)
encode_ast.gen.go#L3043: var x ast.SwitchStmt
encode_ast.gen.go#L3067: codec.Register(&ast.SwitchStmt{},
encode_ast.gen.go#L3068: func(e *codec.Encoder, x interface{}) { encode_ast_SwitchStmt(e, x.(*ast.SwitchStmt)) },
encode_ast.gen.go#L3070: var x *ast.SwitchStmt
 |
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. |