(n *pg.WindowDef)
| 2894 | } |
| 2895 | |
| 2896 | func convertWindowDef(n *pg.WindowDef) *ast.WindowDef { |
| 2897 | if n == nil { |
| 2898 | return nil |
| 2899 | } |
| 2900 | return &ast.WindowDef{ |
| 2901 | Name: makeString(n.Name), |
| 2902 | Refname: makeString(n.Refname), |
| 2903 | PartitionClause: convertSlice(n.PartitionClause), |
| 2904 | OrderClause: convertSlice(n.OrderClause), |
| 2905 | FrameOptions: int(n.FrameOptions), |
| 2906 | StartOffset: convertNode(n.StartOffset), |
| 2907 | EndOffset: convertNode(n.EndOffset), |
| 2908 | Location: int(n.Location), |
| 2909 | } |
| 2910 | } |
| 2911 | |
| 2912 | func convertWindowFunc(n *pg.WindowFunc) *ast.WindowFunc { |
| 2913 | if n == nil { |
no test coverage detected