go/ast.IfStmt.Cond (field)
7 uses
go/ast (current package)
ast.go#L706: Cond Expr // condition
walk.go#L241: Walk(v, n.Cond)
go/parser
parser.go#L2152: return &ast.IfStmt{If: pos, Init: init, Cond: cond, Body: body, Else: else_}
resolver.go#L334: ast.Walk(r, n.Cond)
go/printer
nodes.go#L1388: p.controlClause(false, s.Init, s.Cond, nil)
go/types
stmt.go#L567: check.expr(&x, s.Cond)
stmt.go#L569: check.error(s.Cond, _InvalidCond, "non-boolean condition in if statement")
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)