MCPcopy Create free account
hub / github.com/AfterShip/clickhouse-sql-parser / tryParseWindowClause

Method tryParseWindowClause

parser/parser_query.go:816–821  ·  view source on GitHub ↗
(pos Pos)

Source from the content-addressed store, hash-verified

814}
815
816func (p *Parser) tryParseWindowClause(pos Pos) (*WindowClause, error) {
817 if !p.matchKeyword(KeywordWindow) {
818 return nil, nil
819 }
820 return p.parseWindowClause(pos)
821}
822
823func (p *Parser) parseWindowCondition(pos Pos) (*WindowExpr, error) {
824 if err := p.expectTokenKind(TokenKindLParen); err != nil {

Callers 1

parseSelectStmtMethod · 0.95

Calls 2

matchKeywordMethod · 0.95
parseWindowClauseMethod · 0.95

Tested by

no test coverage detected