type go/ast.CaseClause
15 uses
go/ast (current package)
ast.go#L717: CaseClause struct {
ast.go#L791: func (s *CaseClause) Pos() token.Pos { return s.Case }
ast.go#L843: func (s *CaseClause) End() token.Pos {
ast.go#L877: func (*CaseClause) stmtNode() {}
walk.go#L223: case *CaseClause:
go/parser
parser.go#L2171: func (p *parser) parseCaseClause() *ast.CaseClause {
parser.go#L2188: return &ast.CaseClause{Case: pos, List: list, Colon: colon, Body: body}
resolver.go#L344: case *ast.CaseClause:
go/printer
nodes.go#L1466: case *ast.CaseClause:
go/types
labels.go#L243: case *ast.CaseClause:
return.go#L92: cc := s.(*ast.CaseClause)
return.go#L142: case *ast.CaseClause:
stmt.go#L132: case *ast.CaseClause:
stmt.go#L666: clause, _ := c.(*ast.CaseClause)
stmt.go#L757: clause, _ := s.(*ast.CaseClause)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)