(n *pg.CaseExpr)
| 679 | } |
| 680 | |
| 681 | func convertCaseExpr(n *pg.CaseExpr) *ast.CaseExpr { |
| 682 | if n == nil { |
| 683 | return nil |
| 684 | } |
| 685 | return &ast.CaseExpr{ |
| 686 | Xpr: convertNode(n.Xpr), |
| 687 | Casetype: ast.Oid(n.Casetype), |
| 688 | Casecollid: ast.Oid(n.Casecollid), |
| 689 | Arg: convertNode(n.Arg), |
| 690 | Args: convertSlice(n.Args), |
| 691 | Defresult: convertNode(n.Defresult), |
| 692 | Location: int(n.Location), |
| 693 | } |
| 694 | } |
| 695 | |
| 696 | func convertCaseTestExpr(n *pg.CaseTestExpr) *ast.CaseTestExpr { |
| 697 | if n == nil { |
no test coverage detected