()
| 25569 | } |
| 25570 | |
| 25571 | func (p *SQLiteParser) Order_by_stmt() (localctx IOrder_by_stmtContext) { |
| 25572 | localctx = NewOrder_by_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 25573 | p.EnterRule(localctx, 134, SQLiteParserRULE_order_by_stmt) |
| 25574 | var _la int |
| 25575 | |
| 25576 | p.EnterOuterAlt(localctx, 1) |
| 25577 | { |
| 25578 | p.SetState(1905) |
| 25579 | p.Match(SQLiteParserORDER_) |
| 25580 | if p.HasError() { |
| 25581 | // Recognition error - abort rule |
| 25582 | goto errorExit |
| 25583 | } |
| 25584 | } |
| 25585 | { |
| 25586 | p.SetState(1906) |
| 25587 | p.Match(SQLiteParserBY_) |
| 25588 | if p.HasError() { |
| 25589 | // Recognition error - abort rule |
| 25590 | goto errorExit |
| 25591 | } |
| 25592 | } |
| 25593 | { |
| 25594 | p.SetState(1907) |
| 25595 | p.Ordering_term() |
| 25596 | } |
| 25597 | p.SetState(1912) |
| 25598 | p.GetErrorHandler().Sync(p) |
| 25599 | if p.HasError() { |
| 25600 | goto errorExit |
| 25601 | } |
| 25602 | _la = p.GetTokenStream().LA(1) |
| 25603 | |
| 25604 | for _la == SQLiteParserCOMMA { |
| 25605 | { |
| 25606 | p.SetState(1908) |
| 25607 | p.Match(SQLiteParserCOMMA) |
| 25608 | if p.HasError() { |
| 25609 | // Recognition error - abort rule |
| 25610 | goto errorExit |
| 25611 | } |
| 25612 | } |
| 25613 | { |
| 25614 | p.SetState(1909) |
| 25615 | p.Ordering_term() |
| 25616 | } |
| 25617 | |
| 25618 | p.SetState(1914) |
| 25619 | p.GetErrorHandler().Sync(p) |
| 25620 | if p.HasError() { |
| 25621 | goto errorExit |
| 25622 | } |
| 25623 | _la = p.GetTokenStream().LA(1) |
| 25624 | } |
| 25625 | |
| 25626 | errorExit: |
| 25627 | if p.HasError() { |
| 25628 | v := p.GetError() |
no test coverage detected