()
| 4165 | } |
| 4166 | |
| 4167 | func (p *SQLiteParser) Release_stmt() (localctx IRelease_stmtContext) { |
| 4168 | localctx = NewRelease_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 4169 | p.EnterRule(localctx, 20, SQLiteParserRULE_release_stmt) |
| 4170 | p.EnterOuterAlt(localctx, 1) |
| 4171 | { |
| 4172 | p.SetState(373) |
| 4173 | p.Match(SQLiteParserRELEASE_) |
| 4174 | if p.HasError() { |
| 4175 | // Recognition error - abort rule |
| 4176 | goto errorExit |
| 4177 | } |
| 4178 | } |
| 4179 | p.SetState(375) |
| 4180 | p.GetErrorHandler().Sync(p) |
| 4181 | |
| 4182 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 24, p.GetParserRuleContext()) == 1 { |
| 4183 | { |
| 4184 | p.SetState(374) |
| 4185 | p.Match(SQLiteParserSAVEPOINT_) |
| 4186 | if p.HasError() { |
| 4187 | // Recognition error - abort rule |
| 4188 | goto errorExit |
| 4189 | } |
| 4190 | } |
| 4191 | |
| 4192 | } else if p.HasError() { // JIM |
| 4193 | goto errorExit |
| 4194 | } |
| 4195 | { |
| 4196 | p.SetState(377) |
| 4197 | p.Savepoint_name() |
| 4198 | } |
| 4199 | |
| 4200 | errorExit: |
| 4201 | if p.HasError() { |
| 4202 | v := p.GetError() |
| 4203 | localctx.SetException(v) |
| 4204 | p.GetErrorHandler().ReportError(p, v) |
| 4205 | p.GetErrorHandler().Recover(p, v) |
| 4206 | p.SetError(nil) |
| 4207 | } |
| 4208 | p.ExitRule() |
| 4209 | return localctx |
| 4210 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 4211 | } |
| 4212 | |
| 4213 | // ICreate_index_stmtContext is an interface to support dynamic dispatch. |
| 4214 | type ICreate_index_stmtContext interface { |
no test coverage detected