()
| 1247 | } |
| 1248 | |
| 1249 | func (p *SqlBaseParser) QueryNoWith() (localctx IQueryNoWithContext) { |
| 1250 | localctx = NewQueryNoWithContext(p, p.GetParserRuleContext(), p.GetState()) |
| 1251 | p.EnterRule(localctx, 6, SqlBaseParserRULE_queryNoWith) |
| 1252 | var _la int |
| 1253 | |
| 1254 | defer func() { |
| 1255 | p.ExitRule() |
| 1256 | }() |
| 1257 | |
| 1258 | defer func() { |
| 1259 | if err := recover(); err != nil { |
| 1260 | if v, ok := err.(antlr.RecognitionException); ok { |
| 1261 | localctx.SetException(v) |
| 1262 | p.GetErrorHandler().ReportError(p, v) |
| 1263 | p.GetErrorHandler().Recover(p, v) |
| 1264 | } else { |
| 1265 | panic(err) |
| 1266 | } |
| 1267 | } |
| 1268 | }() |
| 1269 | |
| 1270 | p.EnterOuterAlt(localctx, 1) |
| 1271 | { |
| 1272 | p.SetState(109) |
| 1273 | p.queryTerm(0) |
| 1274 | } |
| 1275 | p.SetState(120) |
| 1276 | p.GetErrorHandler().Sync(p) |
| 1277 | _la = p.GetTokenStream().LA(1) |
| 1278 | |
| 1279 | if _la == SqlBaseParserORDER { |
| 1280 | { |
| 1281 | p.SetState(110) |
| 1282 | p.Match(SqlBaseParserORDER) |
| 1283 | } |
| 1284 | { |
| 1285 | p.SetState(111) |
| 1286 | p.Match(SqlBaseParserBY) |
| 1287 | } |
| 1288 | { |
| 1289 | p.SetState(112) |
| 1290 | p.SortItem() |
| 1291 | } |
| 1292 | p.SetState(117) |
| 1293 | p.GetErrorHandler().Sync(p) |
| 1294 | _la = p.GetTokenStream().LA(1) |
| 1295 | |
| 1296 | for _la == SqlBaseParserT__0 { |
| 1297 | { |
| 1298 | p.SetState(113) |
| 1299 | p.Match(SqlBaseParserT__0) |
| 1300 | } |
| 1301 | { |
| 1302 | p.SetState(114) |
| 1303 | p.SortItem() |
| 1304 | } |
| 1305 | |
| 1306 | p.SetState(119) |
no test coverage detected