(n *pcast.GroupByClause)
| 1029 | } |
| 1030 | |
| 1031 | func (c *cc) convertGroupByClause(n *pcast.GroupByClause) *ast.List { |
| 1032 | if n == nil { |
| 1033 | return &ast.List{} |
| 1034 | } |
| 1035 | |
| 1036 | var items []ast.Node |
| 1037 | for _, item := range n.Items { |
| 1038 | items = append(items, c.convertByItem(item)) |
| 1039 | } |
| 1040 | |
| 1041 | return &ast.List{ |
| 1042 | Items: items, |
| 1043 | } |
| 1044 | } |
| 1045 | |
| 1046 | func (c *cc) convertHavingClause(n *pcast.HavingClause) ast.Node { |
| 1047 | if n == nil { |
no test coverage detected