()
| 16333 | } |
| 16334 | |
| 16335 | func (p *SQLiteParser) Upsert_clause() (localctx IUpsert_clauseContext) { |
| 16336 | localctx = NewUpsert_clauseContext(p, p.GetParserRuleContext(), p.GetState()) |
| 16337 | p.EnterRule(localctx, 76, SQLiteParserRULE_upsert_clause) |
| 16338 | var _la int |
| 16339 | |
| 16340 | p.EnterOuterAlt(localctx, 1) |
| 16341 | { |
| 16342 | p.SetState(1214) |
| 16343 | p.Match(SQLiteParserON_) |
| 16344 | if p.HasError() { |
| 16345 | // Recognition error - abort rule |
| 16346 | goto errorExit |
| 16347 | } |
| 16348 | } |
| 16349 | { |
| 16350 | p.SetState(1215) |
| 16351 | p.Match(SQLiteParserCONFLICT_) |
| 16352 | if p.HasError() { |
| 16353 | // Recognition error - abort rule |
| 16354 | goto errorExit |
| 16355 | } |
| 16356 | } |
| 16357 | p.SetState(1230) |
| 16358 | p.GetErrorHandler().Sync(p) |
| 16359 | if p.HasError() { |
| 16360 | goto errorExit |
| 16361 | } |
| 16362 | _la = p.GetTokenStream().LA(1) |
| 16363 | |
| 16364 | if _la == SQLiteParserOPEN_PAR { |
| 16365 | { |
| 16366 | p.SetState(1216) |
| 16367 | p.Match(SQLiteParserOPEN_PAR) |
| 16368 | if p.HasError() { |
| 16369 | // Recognition error - abort rule |
| 16370 | goto errorExit |
| 16371 | } |
| 16372 | } |
| 16373 | { |
| 16374 | p.SetState(1217) |
| 16375 | p.Indexed_column() |
| 16376 | } |
| 16377 | p.SetState(1222) |
| 16378 | p.GetErrorHandler().Sync(p) |
| 16379 | if p.HasError() { |
| 16380 | goto errorExit |
| 16381 | } |
| 16382 | _la = p.GetTokenStream().LA(1) |
| 16383 | |
| 16384 | for _la == SQLiteParserCOMMA { |
| 16385 | { |
| 16386 | p.SetState(1218) |
| 16387 | p.Match(SQLiteParserCOMMA) |
| 16388 | if p.HasError() { |
| 16389 | // Recognition error - abort rule |
| 16390 | goto errorExit |
| 16391 | } |
| 16392 | } |
no test coverage detected