()
| 2449 | } |
| 2450 | |
| 2451 | func (p *SQLiteParser) Sql_stmt() (localctx ISql_stmtContext) { |
| 2452 | localctx = NewSql_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 2453 | p.EnterRule(localctx, 4, SQLiteParserRULE_sql_stmt) |
| 2454 | var _la int |
| 2455 | |
| 2456 | p.EnterOuterAlt(localctx, 1) |
| 2457 | p.SetState(267) |
| 2458 | p.GetErrorHandler().Sync(p) |
| 2459 | if p.HasError() { |
| 2460 | goto errorExit |
| 2461 | } |
| 2462 | _la = p.GetTokenStream().LA(1) |
| 2463 | |
| 2464 | if _la == SQLiteParserEXPLAIN_ { |
| 2465 | { |
| 2466 | p.SetState(262) |
| 2467 | p.Match(SQLiteParserEXPLAIN_) |
| 2468 | if p.HasError() { |
| 2469 | // Recognition error - abort rule |
| 2470 | goto errorExit |
| 2471 | } |
| 2472 | } |
| 2473 | p.SetState(265) |
| 2474 | p.GetErrorHandler().Sync(p) |
| 2475 | if p.HasError() { |
| 2476 | goto errorExit |
| 2477 | } |
| 2478 | _la = p.GetTokenStream().LA(1) |
| 2479 | |
| 2480 | if _la == SQLiteParserQUERY_ { |
| 2481 | { |
| 2482 | p.SetState(263) |
| 2483 | p.Match(SQLiteParserQUERY_) |
| 2484 | if p.HasError() { |
| 2485 | // Recognition error - abort rule |
| 2486 | goto errorExit |
| 2487 | } |
| 2488 | } |
| 2489 | { |
| 2490 | p.SetState(264) |
| 2491 | p.Match(SQLiteParserPLAN_) |
| 2492 | if p.HasError() { |
| 2493 | // Recognition error - abort rule |
| 2494 | goto errorExit |
| 2495 | } |
| 2496 | } |
| 2497 | |
| 2498 | } |
| 2499 | |
| 2500 | } |
| 2501 | p.SetState(293) |
| 2502 | p.GetErrorHandler().Sync(p) |
| 2503 | if p.HasError() { |
| 2504 | goto errorExit |
| 2505 | } |
| 2506 | |
| 2507 | switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 7, p.GetParserRuleContext()) { |
| 2508 | case 1: |
no test coverage detected