()
| 10490 | } |
| 10491 | |
| 10492 | func (p *SQLiteParser) Recursive_cte() (localctx IRecursive_cteContext) { |
| 10493 | localctx = NewRecursive_cteContext(p, p.GetParserRuleContext(), p.GetState()) |
| 10494 | p.EnterRule(localctx, 54, SQLiteParserRULE_recursive_cte) |
| 10495 | var _la int |
| 10496 | |
| 10497 | p.EnterOuterAlt(localctx, 1) |
| 10498 | { |
| 10499 | p.SetState(808) |
| 10500 | p.Cte_table_name() |
| 10501 | } |
| 10502 | { |
| 10503 | p.SetState(809) |
| 10504 | p.Match(SQLiteParserAS_) |
| 10505 | if p.HasError() { |
| 10506 | // Recognition error - abort rule |
| 10507 | goto errorExit |
| 10508 | } |
| 10509 | } |
| 10510 | { |
| 10511 | p.SetState(810) |
| 10512 | p.Match(SQLiteParserOPEN_PAR) |
| 10513 | if p.HasError() { |
| 10514 | // Recognition error - abort rule |
| 10515 | goto errorExit |
| 10516 | } |
| 10517 | } |
| 10518 | { |
| 10519 | p.SetState(811) |
| 10520 | p.Initial_select() |
| 10521 | } |
| 10522 | { |
| 10523 | p.SetState(812) |
| 10524 | p.Match(SQLiteParserUNION_) |
| 10525 | if p.HasError() { |
| 10526 | // Recognition error - abort rule |
| 10527 | goto errorExit |
| 10528 | } |
| 10529 | } |
| 10530 | p.SetState(814) |
| 10531 | p.GetErrorHandler().Sync(p) |
| 10532 | if p.HasError() { |
| 10533 | goto errorExit |
| 10534 | } |
| 10535 | _la = p.GetTokenStream().LA(1) |
| 10536 | |
| 10537 | if _la == SQLiteParserALL_ { |
| 10538 | { |
| 10539 | p.SetState(813) |
| 10540 | p.Match(SQLiteParserALL_) |
| 10541 | if p.HasError() { |
| 10542 | // Recognition error - abort rule |
| 10543 | goto errorExit |
| 10544 | } |
| 10545 | } |
| 10546 | |
| 10547 | } |
| 10548 | { |
| 10549 | p.SetState(816) |
nothing calls this directly
no test coverage detected