()
| 16752 | } |
| 16753 | |
| 16754 | func (p *SQLiteParser) Pragma_stmt() (localctx IPragma_stmtContext) { |
| 16755 | localctx = NewPragma_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 16756 | p.EnterRule(localctx, 78, SQLiteParserRULE_pragma_stmt) |
| 16757 | p.EnterOuterAlt(localctx, 1) |
| 16758 | { |
| 16759 | p.SetState(1261) |
| 16760 | p.Match(SQLiteParserPRAGMA_) |
| 16761 | if p.HasError() { |
| 16762 | // Recognition error - abort rule |
| 16763 | goto errorExit |
| 16764 | } |
| 16765 | } |
| 16766 | p.SetState(1265) |
| 16767 | p.GetErrorHandler().Sync(p) |
| 16768 | |
| 16769 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 167, p.GetParserRuleContext()) == 1 { |
| 16770 | { |
| 16771 | p.SetState(1262) |
| 16772 | p.Schema_name() |
| 16773 | } |
| 16774 | { |
| 16775 | p.SetState(1263) |
| 16776 | p.Match(SQLiteParserDOT) |
| 16777 | if p.HasError() { |
| 16778 | // Recognition error - abort rule |
| 16779 | goto errorExit |
| 16780 | } |
| 16781 | } |
| 16782 | |
| 16783 | } else if p.HasError() { // JIM |
| 16784 | goto errorExit |
| 16785 | } |
| 16786 | { |
| 16787 | p.SetState(1267) |
| 16788 | p.Pragma_name() |
| 16789 | } |
| 16790 | p.SetState(1274) |
| 16791 | p.GetErrorHandler().Sync(p) |
| 16792 | if p.HasError() { |
| 16793 | goto errorExit |
| 16794 | } |
| 16795 | switch p.GetTokenStream().LA(1) { |
| 16796 | case SQLiteParserASSIGN: |
| 16797 | { |
| 16798 | p.SetState(1268) |
| 16799 | p.Match(SQLiteParserASSIGN) |
| 16800 | if p.HasError() { |
| 16801 | // Recognition error - abort rule |
| 16802 | goto errorExit |
| 16803 | } |
| 16804 | } |
| 16805 | { |
| 16806 | p.SetState(1269) |
| 16807 | p.Pragma_value() |
| 16808 | } |
| 16809 | |
| 16810 | case SQLiteParserOPEN_PAR: |
| 16811 | { |
no test coverage detected