type go/ast.IfStmt
21 uses
go/ast (current package)
ast.go#L719: IfStmt struct {
ast.go#L801: func (s *IfStmt) Pos() token.Pos { return s.If }
ast.go#L848: func (s *IfStmt) End() token.Pos {
ast.go#L887: func (*IfStmt) stmtNode() {}
walk.go#L213: case *IfStmt:
go/parser
parser.go#L2159: func (p *parser) parseIfStmt() *ast.IfStmt {
parser.go#L2188: return &ast.IfStmt{If: pos, Init: init, Cond: cond, Body: body, Else: else_}
resolver.go#L332: case *ast.IfStmt:
go/printer
nodes.go#L1447: case *ast.IfStmt:
nodes.go#L1454: case *ast.BlockStmt, *ast.IfStmt:
go/types
labels.go#L237: case *ast.IfStmt:
return.go#L47: case *ast.IfStmt:
return.go#L136: case *ast.IfStmt:
stmt.go#L605: case *ast.IfStmt:
stmt.go#L621: case *ast.IfStmt, *ast.BlockStmt:
golang.org/x/tools/go/ast/edge
edge.go#L243: IfStmt_Body: info[*ast.IfStmt]("Body"),
edge.go#L244: IfStmt_Cond: info[*ast.IfStmt]("Cond"),
edge.go#L245: IfStmt_Else: info[*ast.IfStmt]("Else"),
edge.go#L246: IfStmt_Init: info[*ast.IfStmt]("Init"),
golang.org/x/tools/go/ast/inspector
typeof.go#L164: case *ast.IfStmt:
walk.go#L203: case *ast.IfStmt: