()
| 11364 | } |
| 11365 | |
| 11366 | func (p *SQLiteParser) Delete_stmt() (localctx IDelete_stmtContext) { |
| 11367 | localctx = NewDelete_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 11368 | p.EnterRule(localctx, 60, SQLiteParserRULE_delete_stmt) |
| 11369 | var _la int |
| 11370 | |
| 11371 | p.EnterOuterAlt(localctx, 1) |
| 11372 | p.SetState(866) |
| 11373 | p.GetErrorHandler().Sync(p) |
| 11374 | if p.HasError() { |
| 11375 | goto errorExit |
| 11376 | } |
| 11377 | _la = p.GetTokenStream().LA(1) |
| 11378 | |
| 11379 | if _la == SQLiteParserWITH_ { |
| 11380 | { |
| 11381 | p.SetState(865) |
| 11382 | p.With_clause() |
| 11383 | } |
| 11384 | |
| 11385 | } |
| 11386 | { |
| 11387 | p.SetState(868) |
| 11388 | p.Match(SQLiteParserDELETE_) |
| 11389 | if p.HasError() { |
| 11390 | // Recognition error - abort rule |
| 11391 | goto errorExit |
| 11392 | } |
| 11393 | } |
| 11394 | { |
| 11395 | p.SetState(869) |
| 11396 | p.Match(SQLiteParserFROM_) |
| 11397 | if p.HasError() { |
| 11398 | // Recognition error - abort rule |
| 11399 | goto errorExit |
| 11400 | } |
| 11401 | } |
| 11402 | { |
| 11403 | p.SetState(870) |
| 11404 | p.Qualified_table_name() |
| 11405 | } |
| 11406 | p.SetState(873) |
| 11407 | p.GetErrorHandler().Sync(p) |
| 11408 | if p.HasError() { |
| 11409 | goto errorExit |
| 11410 | } |
| 11411 | _la = p.GetTokenStream().LA(1) |
| 11412 | |
| 11413 | if _la == SQLiteParserWHERE_ { |
| 11414 | { |
| 11415 | p.SetState(871) |
| 11416 | p.Match(SQLiteParserWHERE_) |
| 11417 | if p.HasError() { |
| 11418 | // Recognition error - abort rule |
| 11419 | goto errorExit |
| 11420 | } |
| 11421 | } |
| 11422 | { |
| 11423 | p.SetState(872) |
no test coverage detected