()
| 15037 | } |
| 15038 | |
| 15039 | func (p *SQLiteParser) Raise_function() (localctx IRaise_functionContext) { |
| 15040 | localctx = NewRaise_functionContext(p, p.GetParserRuleContext(), p.GetState()) |
| 15041 | p.EnterRule(localctx, 70, SQLiteParserRULE_raise_function) |
| 15042 | var _la int |
| 15043 | |
| 15044 | p.EnterOuterAlt(localctx, 1) |
| 15045 | { |
| 15046 | p.SetState(1129) |
| 15047 | p.Match(SQLiteParserRAISE_) |
| 15048 | if p.HasError() { |
| 15049 | // Recognition error - abort rule |
| 15050 | goto errorExit |
| 15051 | } |
| 15052 | } |
| 15053 | { |
| 15054 | p.SetState(1130) |
| 15055 | p.Match(SQLiteParserOPEN_PAR) |
| 15056 | if p.HasError() { |
| 15057 | // Recognition error - abort rule |
| 15058 | goto errorExit |
| 15059 | } |
| 15060 | } |
| 15061 | p.SetState(1135) |
| 15062 | p.GetErrorHandler().Sync(p) |
| 15063 | if p.HasError() { |
| 15064 | goto errorExit |
| 15065 | } |
| 15066 | |
| 15067 | switch p.GetTokenStream().LA(1) { |
| 15068 | case SQLiteParserIGNORE_: |
| 15069 | { |
| 15070 | p.SetState(1131) |
| 15071 | p.Match(SQLiteParserIGNORE_) |
| 15072 | if p.HasError() { |
| 15073 | // Recognition error - abort rule |
| 15074 | goto errorExit |
| 15075 | } |
| 15076 | } |
| 15077 | |
| 15078 | case SQLiteParserABORT_, SQLiteParserFAIL_, SQLiteParserROLLBACK_: |
| 15079 | { |
| 15080 | p.SetState(1132) |
| 15081 | _la = p.GetTokenStream().LA(1) |
| 15082 | |
| 15083 | if !(_la == SQLiteParserABORT_ || _la == SQLiteParserFAIL_ || _la == SQLiteParserROLLBACK_) { |
| 15084 | p.GetErrorHandler().RecoverInline(p) |
| 15085 | } else { |
| 15086 | p.GetErrorHandler().ReportMatch(p) |
| 15087 | p.Consume() |
| 15088 | } |
| 15089 | } |
| 15090 | { |
| 15091 | p.SetState(1133) |
| 15092 | p.Match(SQLiteParserCOMMA) |
| 15093 | if p.HasError() { |
| 15094 | // Recognition error - abort rule |
| 15095 | goto errorExit |
| 15096 | } |
no test coverage detected