()
| 5731 | } |
| 5732 | |
| 5733 | func (p *SQLiteParser) Column_def() (localctx IColumn_defContext) { |
| 5734 | localctx = NewColumn_defContext(p, p.GetParserRuleContext(), p.GetState()) |
| 5735 | p.EnterRule(localctx, 30, SQLiteParserRULE_column_def) |
| 5736 | var _la int |
| 5737 | |
| 5738 | p.EnterOuterAlt(localctx, 1) |
| 5739 | { |
| 5740 | p.SetState(474) |
| 5741 | p.Column_name() |
| 5742 | } |
| 5743 | p.SetState(476) |
| 5744 | p.GetErrorHandler().Sync(p) |
| 5745 | |
| 5746 | if p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 42, p.GetParserRuleContext()) == 1 { |
| 5747 | { |
| 5748 | p.SetState(475) |
| 5749 | p.Type_name() |
| 5750 | } |
| 5751 | |
| 5752 | } else if p.HasError() { // JIM |
| 5753 | goto errorExit |
| 5754 | } |
| 5755 | p.SetState(481) |
| 5756 | p.GetErrorHandler().Sync(p) |
| 5757 | if p.HasError() { |
| 5758 | goto errorExit |
| 5759 | } |
| 5760 | _la = p.GetTokenStream().LA(1) |
| 5761 | |
| 5762 | for ((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&290693316557668352) != 0) || ((int64((_la-104)) & ^0x3f) == 0 && ((int64(1)<<(_la-104))&549755848705) != 0) || _la == SQLiteParserGENERATED_ { |
| 5763 | { |
| 5764 | p.SetState(478) |
| 5765 | p.Column_constraint() |
| 5766 | } |
| 5767 | |
| 5768 | p.SetState(483) |
| 5769 | p.GetErrorHandler().Sync(p) |
| 5770 | if p.HasError() { |
| 5771 | goto errorExit |
| 5772 | } |
| 5773 | _la = p.GetTokenStream().LA(1) |
| 5774 | } |
| 5775 | |
| 5776 | errorExit: |
| 5777 | if p.HasError() { |
| 5778 | v := p.GetError() |
| 5779 | localctx.SetException(v) |
| 5780 | p.GetErrorHandler().ReportError(p, v) |
| 5781 | p.GetErrorHandler().Recover(p, v) |
| 5782 | p.SetError(nil) |
| 5783 | } |
| 5784 | p.ExitRule() |
| 5785 | return localctx |
| 5786 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 5787 | } |
| 5788 | |
| 5789 | // IType_nameContext is an interface to support dynamic dispatch. |
| 5790 | type IType_nameContext interface { |
no test coverage detected