()
| 3872 | } |
| 3873 | |
| 3874 | func (p *SQLiteParser) Rollback_stmt() (localctx IRollback_stmtContext) { |
| 3875 | localctx = NewRollback_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 3876 | p.EnterRule(localctx, 16, SQLiteParserRULE_rollback_stmt) |
| 3877 | var _la int |
| 3878 | |
| 3879 | p.EnterOuterAlt(localctx, 1) |
| 3880 | { |
| 3881 | p.SetState(359) |
| 3882 | p.Match(SQLiteParserROLLBACK_) |
| 3883 | if p.HasError() { |
| 3884 | // Recognition error - abort rule |
| 3885 | goto errorExit |
| 3886 | } |
| 3887 | } |
| 3888 | p.SetState(361) |
| 3889 | p.GetErrorHandler().Sync(p) |
| 3890 | if p.HasError() { |
| 3891 | goto errorExit |
| 3892 | } |
| 3893 | _la = p.GetTokenStream().LA(1) |
| 3894 | |
| 3895 | if _la == SQLiteParserTRANSACTION_ { |
| 3896 | { |
| 3897 | p.SetState(360) |
| 3898 | p.Match(SQLiteParserTRANSACTION_) |
| 3899 | if p.HasError() { |
| 3900 | // Recognition error - abort rule |
| 3901 | goto errorExit |
| 3902 | } |
| 3903 | } |
| 3904 | |
| 3905 | } |
| 3906 | p.SetState(368) |
| 3907 | p.GetErrorHandler().Sync(p) |
| 3908 | if p.HasError() { |
| 3909 | goto errorExit |
| 3910 | } |
| 3911 | _la = p.GetTokenStream().LA(1) |
| 3912 | |
| 3913 | if _la == SQLiteParserTO_ { |
| 3914 | { |
| 3915 | p.SetState(363) |
| 3916 | p.Match(SQLiteParserTO_) |
| 3917 | if p.HasError() { |
| 3918 | // Recognition error - abort rule |
| 3919 | goto errorExit |
| 3920 | } |
| 3921 | } |
| 3922 | p.SetState(365) |
| 3923 | p.GetErrorHandler().Sync(p) |
| 3924 | |
| 3925 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 22, p.GetParserRuleContext()) == 1 { |
| 3926 | { |
| 3927 | p.SetState(364) |
| 3928 | p.Match(SQLiteParserSAVEPOINT_) |
| 3929 | if p.HasError() { |
| 3930 | // Recognition error - abort rule |
| 3931 | goto errorExit |
no test coverage detected