type go/ast.CaseClause
15 uses
go/ast (current package)
ast.go#L696: CaseClause struct {
ast.go#L769: func (s *CaseClause) Pos() token.Pos { return s.Case }
ast.go#L821: func (s *CaseClause) End() token.Pos {
ast.go#L856: func (*CaseClause) stmtNode() {}
walk.go#L236: case *CaseClause:
go/parser
parser.go#L1947: func (p *parser) parseCaseClause(typeSwitch bool) *ast.CaseClause {
parser.go#L1970: return &ast.CaseClause{Case: pos, List: list, Colon: colon, Body: body}
go/printer
nodes.go#L1344: case *ast.CaseClause:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L633: func encode_ast_CaseClause(e *codec.Encoder, x *ast.CaseClause) {
encode_ast.gen.go#L656: func decode_ast_CaseClause(d *codec.Decoder, p **ast.CaseClause) {
encode_ast.gen.go#L662: *p = ref.(*ast.CaseClause)
encode_ast.gen.go#L665: var x ast.CaseClause
encode_ast.gen.go#L689: codec.Register(&ast.CaseClause{},
encode_ast.gen.go#L690: func(e *codec.Encoder, x interface{}) { encode_ast_CaseClause(e, x.(*ast.CaseClause)) },
encode_ast.gen.go#L692: var x *ast.CaseClause
![]() |
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. |