()
| 9217 | } |
| 9218 | |
| 9219 | func (p *SQLiteParser) Create_view_stmt() (localctx ICreate_view_stmtContext) { |
| 9220 | localctx = NewCreate_view_stmtContext(p, p.GetParserRuleContext(), p.GetState()) |
| 9221 | p.EnterRule(localctx, 46, SQLiteParserRULE_create_view_stmt) |
| 9222 | var _la int |
| 9223 | |
| 9224 | p.EnterOuterAlt(localctx, 1) |
| 9225 | { |
| 9226 | p.SetState(712) |
| 9227 | p.Match(SQLiteParserCREATE_) |
| 9228 | if p.HasError() { |
| 9229 | // Recognition error - abort rule |
| 9230 | goto errorExit |
| 9231 | } |
| 9232 | } |
| 9233 | p.SetState(714) |
| 9234 | p.GetErrorHandler().Sync(p) |
| 9235 | if p.HasError() { |
| 9236 | goto errorExit |
| 9237 | } |
| 9238 | _la = p.GetTokenStream().LA(1) |
| 9239 | |
| 9240 | if _la == SQLiteParserTEMP_ || _la == SQLiteParserTEMPORARY_ { |
| 9241 | { |
| 9242 | p.SetState(713) |
| 9243 | _la = p.GetTokenStream().LA(1) |
| 9244 | |
| 9245 | if !(_la == SQLiteParserTEMP_ || _la == SQLiteParserTEMPORARY_) { |
| 9246 | p.GetErrorHandler().RecoverInline(p) |
| 9247 | } else { |
| 9248 | p.GetErrorHandler().ReportMatch(p) |
| 9249 | p.Consume() |
| 9250 | } |
| 9251 | } |
| 9252 | |
| 9253 | } |
| 9254 | { |
| 9255 | p.SetState(716) |
| 9256 | p.Match(SQLiteParserVIEW_) |
| 9257 | if p.HasError() { |
| 9258 | // Recognition error - abort rule |
| 9259 | goto errorExit |
| 9260 | } |
| 9261 | } |
| 9262 | p.SetState(720) |
| 9263 | p.GetErrorHandler().Sync(p) |
| 9264 | |
| 9265 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 83, p.GetParserRuleContext()) == 1 { |
| 9266 | { |
| 9267 | p.SetState(717) |
| 9268 | p.Match(SQLiteParserIF_) |
| 9269 | if p.HasError() { |
| 9270 | // Recognition error - abort rule |
| 9271 | goto errorExit |
| 9272 | } |
| 9273 | } |
| 9274 | { |
| 9275 | p.SetState(718) |
| 9276 | p.Match(SQLiteParserNOT_) |
no test coverage detected