()
| 28100 | } |
| 28101 | |
| 28102 | func (p *SQLiteParser) Order_by_expr() (localctx IOrder_by_exprContext) { |
| 28103 | localctx = NewOrder_by_exprContext(p, p.GetParserRuleContext(), p.GetState()) |
| 28104 | p.EnterRule(localctx, 156, SQLiteParserRULE_order_by_expr) |
| 28105 | var _la int |
| 28106 | |
| 28107 | p.EnterOuterAlt(localctx, 1) |
| 28108 | { |
| 28109 | p.SetState(2068) |
| 28110 | p.Match(SQLiteParserORDER_) |
| 28111 | if p.HasError() { |
| 28112 | // Recognition error - abort rule |
| 28113 | goto errorExit |
| 28114 | } |
| 28115 | } |
| 28116 | { |
| 28117 | p.SetState(2069) |
| 28118 | p.Match(SQLiteParserBY_) |
| 28119 | if p.HasError() { |
| 28120 | // Recognition error - abort rule |
| 28121 | goto errorExit |
| 28122 | } |
| 28123 | } |
| 28124 | p.SetState(2071) |
| 28125 | p.GetErrorHandler().Sync(p) |
| 28126 | if p.HasError() { |
| 28127 | goto errorExit |
| 28128 | } |
| 28129 | _la = p.GetTokenStream().LA(1) |
| 28130 | |
| 28131 | for ok := true; ok; ok = ((int64((_la-3)) & ^0x3f) == 0 && ((int64(1)<<(_la-3))&-16776415) != 0) || ((int64((_la-67)) & ^0x3f) == 0 && ((int64(1)<<(_la-67))&-1) != 0) || ((int64((_la-131)) & ^0x3f) == 0 && ((int64(1)<<(_la-131))&9088264048033660927) != 0) { |
| 28132 | { |
| 28133 | p.SetState(2070) |
| 28134 | p.expr(0) |
| 28135 | } |
| 28136 | |
| 28137 | p.SetState(2073) |
| 28138 | p.GetErrorHandler().Sync(p) |
| 28139 | if p.HasError() { |
| 28140 | goto errorExit |
| 28141 | } |
| 28142 | _la = p.GetTokenStream().LA(1) |
| 28143 | } |
| 28144 | |
| 28145 | errorExit: |
| 28146 | if p.HasError() { |
| 28147 | v := p.GetError() |
| 28148 | localctx.SetException(v) |
| 28149 | p.GetErrorHandler().ReportError(p, v) |
| 28150 | p.GetErrorHandler().Recover(p, v) |
| 28151 | p.SetError(nil) |
| 28152 | } |
| 28153 | p.ExitRule() |
| 28154 | return localctx |
| 28155 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 28156 | } |
| 28157 | |
| 28158 | // IOrder_by_expr_asc_descContext is an interface to support dynamic dispatch. |
| 28159 | type IOrder_by_expr_asc_descContext interface { |
no test coverage detected