(n *pg.CollateClause)
| 799 | } |
| 800 | |
| 801 | func convertCollateClause(n *pg.CollateClause) *ast.CollateClause { |
| 802 | if n == nil { |
| 803 | return nil |
| 804 | } |
| 805 | return &ast.CollateClause{ |
| 806 | Arg: convertNode(n.Arg), |
| 807 | Collname: convertSlice(n.Collname), |
| 808 | Location: int(n.Location), |
| 809 | } |
| 810 | } |
| 811 | |
| 812 | func convertCollateExpr(n *pg.CollateExpr) *ast.CollateExpr { |
| 813 | if n == nil { |
no test coverage detected