TypedElseExpr returns the IfExpr's Else expression as a TypedExpr.
()
| 672 | |
| 673 | // TypedElseExpr returns the IfExpr's Else expression as a TypedExpr. |
| 674 | func (node *IfExpr) TypedElseExpr() TypedExpr { |
| 675 | return node.Else.(TypedExpr) |
| 676 | } |
| 677 | |
| 678 | // Format implements the NodeFormatter interface. |
| 679 | func (node *IfExpr) Format(ctx *FmtCtx) { |