(n *pg.CurrentOfExpr)
| 1356 | } |
| 1357 | |
| 1358 | func convertCurrentOfExpr(n *pg.CurrentOfExpr) *ast.CurrentOfExpr { |
| 1359 | if n == nil { |
| 1360 | return nil |
| 1361 | } |
| 1362 | return &ast.CurrentOfExpr{ |
| 1363 | Xpr: convertNode(n.Xpr), |
| 1364 | Cvarno: ast.Index(n.Cvarno), |
| 1365 | CursorName: makeString(n.CursorName), |
| 1366 | CursorParam: int(n.CursorParam), |
| 1367 | } |
| 1368 | } |
| 1369 | |
| 1370 | func convertDeallocateStmt(n *pg.DeallocateStmt) *ast.DeallocateStmt { |
| 1371 | if n == nil { |
no test coverage detected