()
| 15628 | } |
| 15629 | |
| 15630 | func (p *SQLiteParser) Insert_stmt() (localctx IInsert_stmtContext) { |
| 15631 | localctx = NewInsert_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 15632 | p.EnterRule(localctx, 74, SQLiteParserRULE_insert_stmt) |
| 15633 | var _la int |
| 15634 | |
| 15635 | p.EnterOuterAlt(localctx, 1) |
| 15636 | p.SetState(1142) |
| 15637 | p.GetErrorHandler().Sync(p) |
| 15638 | if p.HasError() { |
| 15639 | goto errorExit |
| 15640 | } |
| 15641 | _la = p.GetTokenStream().LA(1) |
| 15642 | |
| 15643 | if _la == SQLiteParserWITH_ { |
| 15644 | { |
| 15645 | p.SetState(1141) |
| 15646 | p.With_clause() |
| 15647 | } |
| 15648 | |
| 15649 | } |
| 15650 | p.SetState(1149) |
| 15651 | p.GetErrorHandler().Sync(p) |
| 15652 | if p.HasError() { |
| 15653 | goto errorExit |
| 15654 | } |
| 15655 | |
| 15656 | switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 148, p.GetParserRuleContext()) { |
| 15657 | case 1: |
| 15658 | { |
| 15659 | p.SetState(1144) |
| 15660 | p.Match(SQLiteParserINSERT_) |
| 15661 | if p.HasError() { |
| 15662 | // Recognition error - abort rule |
| 15663 | goto errorExit |
| 15664 | } |
| 15665 | } |
| 15666 | |
| 15667 | case 2: |
| 15668 | { |
| 15669 | p.SetState(1145) |
| 15670 | p.Match(SQLiteParserREPLACE_) |
| 15671 | if p.HasError() { |
| 15672 | // Recognition error - abort rule |
| 15673 | goto errorExit |
| 15674 | } |
| 15675 | } |
| 15676 | |
| 15677 | case 3: |
| 15678 | { |
| 15679 | p.SetState(1146) |
| 15680 | p.Match(SQLiteParserINSERT_) |
| 15681 | if p.HasError() { |
| 15682 | // Recognition error - abort rule |
| 15683 | goto errorExit |
| 15684 | } |
| 15685 | } |
| 15686 | { |
| 15687 | p.SetState(1147) |
no test coverage detected