()
| 2765 | } |
| 2766 | |
| 2767 | func (p *SqlBaseParser) GroupingElement() (localctx IGroupingElementContext) { |
| 2768 | localctx = NewGroupingElementContext(p, p.GetParserRuleContext(), p.GetState()) |
| 2769 | p.EnterRule(localctx, 18, SqlBaseParserRULE_groupingElement) |
| 2770 | |
| 2771 | defer func() { |
| 2772 | p.ExitRule() |
| 2773 | }() |
| 2774 | |
| 2775 | defer func() { |
| 2776 | if err := recover(); err != nil { |
| 2777 | if v, ok := err.(antlr.RecognitionException); ok { |
| 2778 | localctx.SetException(v) |
| 2779 | p.GetErrorHandler().ReportError(p, v) |
| 2780 | p.GetErrorHandler().Recover(p, v) |
| 2781 | } else { |
| 2782 | panic(err) |
| 2783 | } |
| 2784 | } |
| 2785 | }() |
| 2786 | |
| 2787 | localctx = NewSingleGroupingSetContext(p, localctx) |
| 2788 | p.EnterOuterAlt(localctx, 1) |
| 2789 | { |
| 2790 | p.SetState(219) |
| 2791 | p.GroupingExpressions() |
| 2792 | } |
| 2793 | |
| 2794 | return localctx |
| 2795 | } |
| 2796 | |
| 2797 | // IGroupingExpressionsContext is an interface to support dynamic dispatch. |
| 2798 | type IGroupingExpressionsContext interface { |
no test coverage detected