()
| 4614 | } |
| 4615 | |
| 4616 | func (p *SqlBaseParser) ColumnAliases() (localctx IColumnAliasesContext) { |
| 4617 | localctx = NewColumnAliasesContext(p, p.GetParserRuleContext(), p.GetState()) |
| 4618 | p.EnterRule(localctx, 40, SqlBaseParserRULE_columnAliases) |
| 4619 | var _la int |
| 4620 | |
| 4621 | defer func() { |
| 4622 | p.ExitRule() |
| 4623 | }() |
| 4624 | |
| 4625 | defer func() { |
| 4626 | if err := recover(); err != nil { |
| 4627 | if v, ok := err.(antlr.RecognitionException); ok { |
| 4628 | localctx.SetException(v) |
| 4629 | p.GetErrorHandler().ReportError(p, v) |
| 4630 | p.GetErrorHandler().Recover(p, v) |
| 4631 | } else { |
| 4632 | panic(err) |
| 4633 | } |
| 4634 | } |
| 4635 | }() |
| 4636 | |
| 4637 | p.EnterOuterAlt(localctx, 1) |
| 4638 | { |
| 4639 | p.SetState(339) |
| 4640 | p.Match(SqlBaseParserT__1) |
| 4641 | } |
| 4642 | { |
| 4643 | p.SetState(340) |
| 4644 | p.Identifier() |
| 4645 | } |
| 4646 | p.SetState(345) |
| 4647 | p.GetErrorHandler().Sync(p) |
| 4648 | _la = p.GetTokenStream().LA(1) |
| 4649 | |
| 4650 | for _la == SqlBaseParserT__0 { |
| 4651 | { |
| 4652 | p.SetState(341) |
| 4653 | p.Match(SqlBaseParserT__0) |
| 4654 | } |
| 4655 | { |
| 4656 | p.SetState(342) |
| 4657 | p.Identifier() |
| 4658 | } |
| 4659 | |
| 4660 | p.SetState(347) |
| 4661 | p.GetErrorHandler().Sync(p) |
| 4662 | _la = p.GetTokenStream().LA(1) |
| 4663 | } |
| 4664 | { |
| 4665 | p.SetState(348) |
| 4666 | p.Match(SqlBaseParserT__2) |
| 4667 | } |
| 4668 | |
| 4669 | return localctx |
| 4670 | } |
| 4671 | |
| 4672 | // IRelationPrimaryContext is an interface to support dynamic dispatch. |
| 4673 | type IRelationPrimaryContext interface { |
no test coverage detected