MCPcopy
hub / github.com/uber/aresdb / GroupingElement

Method GroupingElement

query/sql/antlrgen/sqlbase_parser.go:2767–2795  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2765}
2766
2767func (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.
2798type IGroupingExpressionsContext interface {

Callers 1

GroupByMethod · 0.95

Calls 4

GroupingExpressionsMethod · 0.95
ReportErrorMethod · 0.65

Tested by

no test coverage detected