(n *pg.CreateCastStmt)
| 977 | } |
| 978 | |
| 979 | func convertCreateCastStmt(n *pg.CreateCastStmt) *ast.CreateCastStmt { |
| 980 | if n == nil { |
| 981 | return nil |
| 982 | } |
| 983 | return &ast.CreateCastStmt{ |
| 984 | Sourcetype: convertTypeName(n.Sourcetype), |
| 985 | Targettype: convertTypeName(n.Targettype), |
| 986 | Func: convertObjectWithArgs(n.Func), |
| 987 | Context: ast.CoercionContext(n.Context), |
| 988 | Inout: n.Inout, |
| 989 | } |
| 990 | } |
| 991 | |
| 992 | func convertCreateConversionStmt(n *pg.CreateConversionStmt) *ast.CreateConversionStmt { |
| 993 | if n == nil { |
no test coverage detected