go/ast.IfStmt.Cond (field)

7 uses

	go/ast (current package)
		ast.go#L711: 		Cond Expr      // condition
		walk.go#L217: 		Walk(v, n.Cond)

	go/parser
		parser.go#L2168: 	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#L621: 		check.expr(nil, &x, s.Cond)
		stmt.go#L623: 			check.error(s.Cond, InvalidCond, "non-boolean condition in if statement")