()
| 18165 | } |
| 18166 | |
| 18167 | func (p *SQLiteParser) Select_core() (localctx ISelect_coreContext) { |
| 18168 | localctx = NewSelect_coreContext(p, p.GetParserRuleContext(), p.GetState()) |
| 18169 | p.EnterRule(localctx, 88, SQLiteParserRULE_select_core) |
| 18170 | var _la int |
| 18171 | |
| 18172 | p.SetState(1412) |
| 18173 | p.GetErrorHandler().Sync(p) |
| 18174 | if p.HasError() { |
| 18175 | goto errorExit |
| 18176 | } |
| 18177 | |
| 18178 | switch p.GetTokenStream().LA(1) { |
| 18179 | case SQLiteParserSELECT_: |
| 18180 | p.EnterOuterAlt(localctx, 1) |
| 18181 | { |
| 18182 | p.SetState(1322) |
| 18183 | p.Match(SQLiteParserSELECT_) |
| 18184 | if p.HasError() { |
| 18185 | // Recognition error - abort rule |
| 18186 | goto errorExit |
| 18187 | } |
| 18188 | } |
| 18189 | p.SetState(1324) |
| 18190 | p.GetErrorHandler().Sync(p) |
| 18191 | |
| 18192 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 178, p.GetParserRuleContext()) == 1 { |
| 18193 | { |
| 18194 | p.SetState(1323) |
| 18195 | _la = p.GetTokenStream().LA(1) |
| 18196 | |
| 18197 | if !(_la == SQLiteParserALL_ || _la == SQLiteParserDISTINCT_) { |
| 18198 | p.GetErrorHandler().RecoverInline(p) |
| 18199 | } else { |
| 18200 | p.GetErrorHandler().ReportMatch(p) |
| 18201 | p.Consume() |
| 18202 | } |
| 18203 | } |
| 18204 | |
| 18205 | } else if p.HasError() { // JIM |
| 18206 | goto errorExit |
| 18207 | } |
| 18208 | { |
| 18209 | p.SetState(1326) |
| 18210 | p.Result_column() |
| 18211 | } |
| 18212 | p.SetState(1331) |
| 18213 | p.GetErrorHandler().Sync(p) |
| 18214 | if p.HasError() { |
| 18215 | goto errorExit |
| 18216 | } |
| 18217 | _la = p.GetTokenStream().LA(1) |
| 18218 | |
| 18219 | for _la == SQLiteParserCOMMA { |
| 18220 | { |
| 18221 | p.SetState(1327) |
| 18222 | p.Match(SQLiteParserCOMMA) |
| 18223 | if p.HasError() { |
| 18224 | // Recognition error - abort rule |
no test coverage detected