(cols []parser.IColumn_nameContext)
| 1035 | } |
| 1036 | |
| 1037 | func (c *cc) convertColumnNames(cols []parser.IColumn_nameContext) *ast.List { |
| 1038 | list := &ast.List{Items: []ast.Node{}} |
| 1039 | for _, c := range cols { |
| 1040 | name := identifier(c.GetText()) |
| 1041 | list.Items = append(list.Items, &ast.ResTarget{ |
| 1042 | Name: &name, |
| 1043 | }) |
| 1044 | } |
| 1045 | return list |
| 1046 | } |
| 1047 | |
| 1048 | func (c *cc) convertTablesOrSubquery(n []parser.ITable_or_subqueryContext) []ast.Node { |
| 1049 | var tables []ast.Node |
no test coverage detected