TypedCondExpr returns the IfExpr's Cond expression as a TypedExpr.
()
| 667 | |
| 668 | // TypedCondExpr returns the IfExpr's Cond expression as a TypedExpr. |
| 669 | func (node *IfExpr) TypedCondExpr() TypedExpr { |
| 670 | return node.Cond.(TypedExpr) |
| 671 | } |
| 672 | |
| 673 | // TypedElseExpr returns the IfExpr's Else expression as a TypedExpr. |
| 674 | func (node *IfExpr) TypedElseExpr() TypedExpr { |