()
| 715 | } |
| 716 | |
| 717 | func (p *Parser) parseFrameCurrentRow() (Expr, error) { |
| 718 | currentPos := p.Pos() |
| 719 | _ = p.lexer.consumeToken() |
| 720 | if err := p.expectKeyword(KeywordRow); err != nil { |
| 721 | return nil, err |
| 722 | } |
| 723 | rowEnd := p.End() |
| 724 | return &WindowFrameCurrentRow{ |
| 725 | CurrentPos: currentPos, |
| 726 | RowEnd: rowEnd, |
| 727 | }, nil |
| 728 | } |
| 729 | |
| 730 | func (p *Parser) parseFrameUnbounded() (Expr, error) { |
| 731 | unboundedPos := p.Pos() |
no test coverage detected