(n *pcast.OrderByClause)
| 1186 | } |
| 1187 | |
| 1188 | func (c *cc) convertOrderByClause(n *pcast.OrderByClause) ast.Node { |
| 1189 | if n == nil { |
| 1190 | return nil |
| 1191 | } |
| 1192 | list := &ast.List{Items: []ast.Node{}} |
| 1193 | for _, item := range n.Items { |
| 1194 | list.Items = append(list.Items, c.convert(item.Expr)) |
| 1195 | } |
| 1196 | return list |
| 1197 | } |
| 1198 | |
| 1199 | func (c *cc) convertParenthesesExpr(n *pcast.ParenthesesExpr) ast.Node { |
| 1200 | if n == nil { |
no test coverage detected