()
| 4782 | } |
| 4783 | |
| 4784 | func (p *SQLiteParser) Indexed_column() (localctx IIndexed_columnContext) { |
| 4785 | localctx = NewIndexed_columnContext(p, p.GetParserRuleContext(), p.GetState()) |
| 4786 | p.EnterRule(localctx, 24, SQLiteParserRULE_indexed_column) |
| 4787 | var _la int |
| 4788 | |
| 4789 | p.EnterOuterAlt(localctx, 1) |
| 4790 | p.SetState(413) |
| 4791 | p.GetErrorHandler().Sync(p) |
| 4792 | if p.HasError() { |
| 4793 | goto errorExit |
| 4794 | } |
| 4795 | |
| 4796 | switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 30, p.GetParserRuleContext()) { |
| 4797 | case 1: |
| 4798 | { |
| 4799 | p.SetState(411) |
| 4800 | p.Column_name() |
| 4801 | } |
| 4802 | |
| 4803 | case 2: |
| 4804 | { |
| 4805 | p.SetState(412) |
| 4806 | p.expr(0) |
| 4807 | } |
| 4808 | |
| 4809 | case antlr.ATNInvalidAltNumber: |
| 4810 | goto errorExit |
| 4811 | } |
| 4812 | p.SetState(417) |
| 4813 | p.GetErrorHandler().Sync(p) |
| 4814 | if p.HasError() { |
| 4815 | goto errorExit |
| 4816 | } |
| 4817 | _la = p.GetTokenStream().LA(1) |
| 4818 | |
| 4819 | if _la == SQLiteParserCOLLATE_ { |
| 4820 | { |
| 4821 | p.SetState(415) |
| 4822 | p.Match(SQLiteParserCOLLATE_) |
| 4823 | if p.HasError() { |
| 4824 | // Recognition error - abort rule |
| 4825 | goto errorExit |
| 4826 | } |
| 4827 | } |
| 4828 | { |
| 4829 | p.SetState(416) |
| 4830 | p.Collation_name() |
| 4831 | } |
| 4832 | |
| 4833 | } |
| 4834 | p.SetState(420) |
| 4835 | p.GetErrorHandler().Sync(p) |
| 4836 | if p.HasError() { |
| 4837 | goto errorExit |
| 4838 | } |
| 4839 | _la = p.GetTokenStream().LA(1) |
| 4840 | |
| 4841 | if _la == SQLiteParserASC_ || _la == SQLiteParserDESC_ { |
no test coverage detected