(n *chast.Asterisk)
| 531 | } |
| 532 | |
| 533 | func (c *cc) convertAsterisk(n *chast.Asterisk) *ast.ColumnRef { |
| 534 | fields := &ast.List{} |
| 535 | if n.Table != "" { |
| 536 | fields.Items = append(fields.Items, NewIdentifier(n.Table)) |
| 537 | } |
| 538 | fields.Items = append(fields.Items, &ast.A_Star{}) |
| 539 | return &ast.ColumnRef{ |
| 540 | Fields: fields, |
| 541 | Location: n.Pos().Offset, |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | func (c *cc) convertCaseExpr(n *chast.CaseExpr) *ast.CaseExpr { |
| 546 | ce := &ast.CaseExpr{ |
no test coverage detected