()
| 16952 | } |
| 16953 | |
| 16954 | func (p *SQLiteParser) Pragma_value() (localctx IPragma_valueContext) { |
| 16955 | localctx = NewPragma_valueContext(p, p.GetParserRuleContext(), p.GetState()) |
| 16956 | p.EnterRule(localctx, 80, SQLiteParserRULE_pragma_value) |
| 16957 | p.SetState(1279) |
| 16958 | p.GetErrorHandler().Sync(p) |
| 16959 | if p.HasError() { |
| 16960 | goto errorExit |
| 16961 | } |
| 16962 | |
| 16963 | switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 169, p.GetParserRuleContext()) { |
| 16964 | case 1: |
| 16965 | p.EnterOuterAlt(localctx, 1) |
| 16966 | { |
| 16967 | p.SetState(1276) |
| 16968 | p.Signed_number() |
| 16969 | } |
| 16970 | |
| 16971 | case 2: |
| 16972 | p.EnterOuterAlt(localctx, 2) |
| 16973 | { |
| 16974 | p.SetState(1277) |
| 16975 | p.Name() |
| 16976 | } |
| 16977 | |
| 16978 | case 3: |
| 16979 | p.EnterOuterAlt(localctx, 3) |
| 16980 | { |
| 16981 | p.SetState(1278) |
| 16982 | p.Match(SQLiteParserSTRING_LITERAL) |
| 16983 | if p.HasError() { |
| 16984 | // Recognition error - abort rule |
| 16985 | goto errorExit |
| 16986 | } |
| 16987 | } |
| 16988 | |
| 16989 | case antlr.ATNInvalidAltNumber: |
| 16990 | goto errorExit |
| 16991 | } |
| 16992 | |
| 16993 | errorExit: |
| 16994 | if p.HasError() { |
| 16995 | v := p.GetError() |
| 16996 | localctx.SetException(v) |
| 16997 | p.GetErrorHandler().ReportError(p, v) |
| 16998 | p.GetErrorHandler().Recover(p, v) |
| 16999 | p.SetError(nil) |
| 17000 | } |
| 17001 | p.ExitRule() |
| 17002 | return localctx |
| 17003 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 17004 | } |
| 17005 | |
| 17006 | // IReindex_stmtContext is an interface to support dynamic dispatch. |
| 17007 | type IReindex_stmtContext interface { |
no test coverage detected