(n *pg.RangeFunction)
| 2180 | } |
| 2181 | |
| 2182 | func convertRangeFunction(n *pg.RangeFunction) *ast.RangeFunction { |
| 2183 | if n == nil { |
| 2184 | return nil |
| 2185 | } |
| 2186 | return &ast.RangeFunction{ |
| 2187 | Lateral: n.Lateral, |
| 2188 | Ordinality: n.Ordinality, |
| 2189 | IsRowsfrom: n.IsRowsfrom, |
| 2190 | Functions: convertSlice(n.Functions), |
| 2191 | Alias: convertAlias(n.Alias), |
| 2192 | Coldeflist: convertSlice(n.Coldeflist), |
| 2193 | } |
| 2194 | } |
| 2195 | |
| 2196 | func convertRangeSubselect(n *pg.RangeSubselect) *ast.RangeSubselect { |
| 2197 | if n == nil { |
no test coverage detected