(n *parser.Result_columnContext)
| 607 | } |
| 608 | |
| 609 | func (c *cc) convertWildCardField(n *parser.Result_columnContext) *ast.ColumnRef { |
| 610 | items := []ast.Node{} |
| 611 | if n.Table_name() != nil { |
| 612 | items = append(items, NewIdentifier(n.Table_name().GetText())) |
| 613 | } |
| 614 | items = append(items, &ast.A_Star{}) |
| 615 | |
| 616 | return &ast.ColumnRef{ |
| 617 | Fields: &ast.List{ |
| 618 | Items: items, |
| 619 | }, |
| 620 | Location: n.GetStart().GetStart(), |
| 621 | } |
| 622 | } |
| 623 | |
| 624 | func (c *cc) convertOrderby_stmtContext(n parser.IOrder_by_stmtContext) ast.Node { |
| 625 | if orderBy, ok := n.(*parser.Order_by_stmtContext); ok { |
no test coverage detected