(n *pg.FieldSelect)
| 1555 | } |
| 1556 | |
| 1557 | func convertFieldSelect(n *pg.FieldSelect) *ast.FieldSelect { |
| 1558 | if n == nil { |
| 1559 | return nil |
| 1560 | } |
| 1561 | return &ast.FieldSelect{ |
| 1562 | Xpr: convertNode(n.Xpr), |
| 1563 | Arg: convertNode(n.Arg), |
| 1564 | Fieldnum: ast.AttrNumber(n.Fieldnum), |
| 1565 | Resulttype: ast.Oid(n.Resulttype), |
| 1566 | Resulttypmod: n.Resulttypmod, |
| 1567 | Resultcollid: ast.Oid(n.Resultcollid), |
| 1568 | } |
| 1569 | } |
| 1570 | |
| 1571 | func convertFieldStore(n *pg.FieldStore) *ast.FieldStore { |
| 1572 | if n == nil { |
no test coverage detected