(n *pg.TypeName)
| 2772 | } |
| 2773 | |
| 2774 | func convertTypeName(n *pg.TypeName) *ast.TypeName { |
| 2775 | if n == nil { |
| 2776 | return nil |
| 2777 | } |
| 2778 | return &ast.TypeName{ |
| 2779 | Names: convertSlice(n.Names), |
| 2780 | TypeOid: ast.Oid(n.TypeOid), |
| 2781 | Setof: n.Setof, |
| 2782 | PctType: n.PctType, |
| 2783 | Typmods: convertSlice(n.Typmods), |
| 2784 | Typemod: n.Typemod, |
| 2785 | ArrayBounds: convertSlice(n.ArrayBounds), |
| 2786 | Location: int(n.Location), |
| 2787 | } |
| 2788 | } |
| 2789 | |
| 2790 | func convertUnlistenStmt(n *pg.UnlistenStmt) *ast.UnlistenStmt { |
| 2791 | if n == nil { |
no test coverage detected