go/ast.IfStmt.Cond (field)
8 uses
go/ast (current package)
ast.go#L722: Cond Expr // condition
walk.go#L217: Walk(v, n.Cond)
go/parser
parser.go#L2188: return &ast.IfStmt{If: pos, Init: init, Cond: cond, Body: body, Else: else_}
resolver.go#L338: ast.Walk(r, n.Cond)
go/printer
nodes.go#L1449: p.controlClause(false, s.Init, s.Cond, nil)
go/types
stmt.go#L611: check.expr(nil, &x, s.Cond)
stmt.go#L613: check.error(s.Cond, InvalidCond, "non-boolean condition in if statement")
golang.org/x/tools/go/ast/inspector
walk.go#L207: walk(v, edge.IfStmt_Cond, -1, n.Cond)