()
| 27920 | } |
| 27921 | |
| 27922 | func (p *SQLiteParser) Partition_by() (localctx IPartition_byContext) { |
| 27923 | localctx = NewPartition_byContext(p, p.GetParserRuleContext(), p.GetState()) |
| 27924 | p.EnterRule(localctx, 154, SQLiteParserRULE_partition_by) |
| 27925 | var _alt int |
| 27926 | |
| 27927 | p.EnterOuterAlt(localctx, 1) |
| 27928 | { |
| 27929 | p.SetState(2061) |
| 27930 | p.Match(SQLiteParserPARTITION_) |
| 27931 | if p.HasError() { |
| 27932 | // Recognition error - abort rule |
| 27933 | goto errorExit |
| 27934 | } |
| 27935 | } |
| 27936 | { |
| 27937 | p.SetState(2062) |
| 27938 | p.Match(SQLiteParserBY_) |
| 27939 | if p.HasError() { |
| 27940 | // Recognition error - abort rule |
| 27941 | goto errorExit |
| 27942 | } |
| 27943 | } |
| 27944 | p.SetState(2064) |
| 27945 | p.GetErrorHandler().Sync(p) |
| 27946 | if p.HasError() { |
| 27947 | goto errorExit |
| 27948 | } |
| 27949 | _alt = 1 |
| 27950 | for ok := true; ok; ok = _alt != 2 && _alt != antlr.ATNInvalidAltNumber { |
| 27951 | switch _alt { |
| 27952 | case 1: |
| 27953 | { |
| 27954 | p.SetState(2063) |
| 27955 | p.expr(0) |
| 27956 | } |
| 27957 | |
| 27958 | default: |
| 27959 | p.SetError(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil)) |
| 27960 | goto errorExit |
| 27961 | } |
| 27962 | |
| 27963 | p.SetState(2066) |
| 27964 | p.GetErrorHandler().Sync(p) |
| 27965 | _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 305, p.GetParserRuleContext()) |
| 27966 | if p.HasError() { |
| 27967 | goto errorExit |
| 27968 | } |
| 27969 | } |
| 27970 | |
| 27971 | errorExit: |
| 27972 | if p.HasError() { |
| 27973 | v := p.GetError() |
| 27974 | localctx.SetException(v) |
| 27975 | p.GetErrorHandler().ReportError(p, v) |
| 27976 | p.GetErrorHandler().Recover(p, v) |
| 27977 | p.SetError(nil) |
| 27978 | } |
| 27979 | p.ExitRule() |
no test coverage detected