(n *pg.CoerceToDomain)
| 757 | } |
| 758 | |
| 759 | func convertCoerceToDomain(n *pg.CoerceToDomain) *ast.CoerceToDomain { |
| 760 | if n == nil { |
| 761 | return nil |
| 762 | } |
| 763 | return &ast.CoerceToDomain{ |
| 764 | Xpr: convertNode(n.Xpr), |
| 765 | Arg: convertNode(n.Arg), |
| 766 | Resulttype: ast.Oid(n.Resulttype), |
| 767 | Resulttypmod: n.Resulttypmod, |
| 768 | Resultcollid: ast.Oid(n.Resultcollid), |
| 769 | Coercionformat: ast.CoercionForm(n.Coercionformat), |
| 770 | Location: int(n.Location), |
| 771 | } |
| 772 | } |
| 773 | |
| 774 | func convertCoerceToDomainValue(n *pg.CoerceToDomainValue) *ast.CoerceToDomainValue { |
| 775 | if n == nil { |
no test coverage detected