()
| 23720 | } |
| 23721 | |
| 23722 | func (p *SQLiteParser) Over_clause() (localctx IOver_clauseContext) { |
| 23723 | localctx = NewOver_clauseContext(p, p.GetParserRuleContext(), p.GetState()) |
| 23724 | p.EnterRule(localctx, 120, SQLiteParserRULE_over_clause) |
| 23725 | var _la int |
| 23726 | |
| 23727 | p.EnterOuterAlt(localctx, 1) |
| 23728 | { |
| 23729 | p.SetState(1781) |
| 23730 | p.Match(SQLiteParserOVER_) |
| 23731 | if p.HasError() { |
| 23732 | // Recognition error - abort rule |
| 23733 | goto errorExit |
| 23734 | } |
| 23735 | } |
| 23736 | p.SetState(1815) |
| 23737 | p.GetErrorHandler().Sync(p) |
| 23738 | if p.HasError() { |
| 23739 | goto errorExit |
| 23740 | } |
| 23741 | |
| 23742 | switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 270, p.GetParserRuleContext()) { |
| 23743 | case 1: |
| 23744 | { |
| 23745 | p.SetState(1782) |
| 23746 | p.Window_name() |
| 23747 | } |
| 23748 | |
| 23749 | case 2: |
| 23750 | { |
| 23751 | p.SetState(1783) |
| 23752 | p.Match(SQLiteParserOPEN_PAR) |
| 23753 | if p.HasError() { |
| 23754 | // Recognition error - abort rule |
| 23755 | goto errorExit |
| 23756 | } |
| 23757 | } |
| 23758 | p.SetState(1785) |
| 23759 | p.GetErrorHandler().Sync(p) |
| 23760 | |
| 23761 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 264, p.GetParserRuleContext()) == 1 { |
| 23762 | { |
| 23763 | p.SetState(1784) |
| 23764 | p.Base_window_name() |
| 23765 | } |
| 23766 | |
| 23767 | } else if p.HasError() { // JIM |
| 23768 | goto errorExit |
| 23769 | } |
| 23770 | p.SetState(1797) |
| 23771 | p.GetErrorHandler().Sync(p) |
| 23772 | if p.HasError() { |
| 23773 | goto errorExit |
| 23774 | } |
| 23775 | _la = p.GetTokenStream().LA(1) |
| 23776 | |
| 23777 | if _la == SQLiteParserPARTITION_ { |
| 23778 | { |
| 23779 | p.SetState(1787) |
no test coverage detected