()
| 3562 | } |
| 3563 | |
| 3564 | func (p *SQLiteParser) Begin_stmt() (localctx IBegin_stmtContext) { |
| 3565 | localctx = NewBegin_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 3566 | p.EnterRule(localctx, 12, SQLiteParserRULE_begin_stmt) |
| 3567 | var _la int |
| 3568 | |
| 3569 | p.EnterOuterAlt(localctx, 1) |
| 3570 | { |
| 3571 | p.SetState(345) |
| 3572 | p.Match(SQLiteParserBEGIN_) |
| 3573 | if p.HasError() { |
| 3574 | // Recognition error - abort rule |
| 3575 | goto errorExit |
| 3576 | } |
| 3577 | } |
| 3578 | p.SetState(347) |
| 3579 | p.GetErrorHandler().Sync(p) |
| 3580 | if p.HasError() { |
| 3581 | goto errorExit |
| 3582 | } |
| 3583 | _la = p.GetTokenStream().LA(1) |
| 3584 | |
| 3585 | if (int64((_la-60)) & ^0x3f) == 0 && ((int64(1)<<(_la-60))&16779265) != 0 { |
| 3586 | { |
| 3587 | p.SetState(346) |
| 3588 | _la = p.GetTokenStream().LA(1) |
| 3589 | |
| 3590 | if !((int64((_la-60)) & ^0x3f) == 0 && ((int64(1)<<(_la-60))&16779265) != 0) { |
| 3591 | p.GetErrorHandler().RecoverInline(p) |
| 3592 | } else { |
| 3593 | p.GetErrorHandler().ReportMatch(p) |
| 3594 | p.Consume() |
| 3595 | } |
| 3596 | } |
| 3597 | |
| 3598 | } |
| 3599 | p.SetState(353) |
| 3600 | p.GetErrorHandler().Sync(p) |
| 3601 | if p.HasError() { |
| 3602 | goto errorExit |
| 3603 | } |
| 3604 | _la = p.GetTokenStream().LA(1) |
| 3605 | |
| 3606 | if _la == SQLiteParserTRANSACTION_ { |
| 3607 | { |
| 3608 | p.SetState(349) |
| 3609 | p.Match(SQLiteParserTRANSACTION_) |
| 3610 | if p.HasError() { |
| 3611 | // Recognition error - abort rule |
| 3612 | goto errorExit |
| 3613 | } |
| 3614 | } |
| 3615 | p.SetState(351) |
| 3616 | p.GetErrorHandler().Sync(p) |
| 3617 | |
| 3618 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 18, p.GetParserRuleContext()) == 1 { |
| 3619 | { |
| 3620 | p.SetState(350) |
| 3621 | p.Transaction_name() |
no test coverage detected