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

Method Expression

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

Source from the content-addressed store, hash-verified

4968}
4969
4970func (p *SqlBaseParser) Expression() (localctx IExpressionContext) {
4971 localctx = NewExpressionContext(p, p.GetParserRuleContext(), p.GetState())
4972 p.EnterRule(localctx, 44, SqlBaseParserRULE_expression)
4973
4974 defer func() {
4975 p.ExitRule()
4976 }()
4977
4978 defer func() {
4979 if err := recover(); err != nil {
4980 if v, ok := err.(antlr.RecognitionException); ok {
4981 localctx.SetException(v)
4982 p.GetErrorHandler().ReportError(p, v)
4983 p.GetErrorHandler().Recover(p, v)
4984 } else {
4985 panic(err)
4986 }
4987 }
4988 }()
4989
4990 p.EnterOuterAlt(localctx, 1)
4991 {
4992 p.SetState(361)
4993 p.booleanExpression(0)
4994 }
4995
4996 return localctx
4997}
4998
4999// IBooleanExpressionContext is an interface to support dynamic dispatch.
5000type IBooleanExpressionContext interface {

Callers 11

QueryPrimaryMethod · 0.95
SortItemMethod · 0.95
GroupingExpressionsMethod · 0.95
SelectItemMethod · 0.95
SampledRelationMethod · 0.95
PredicateMethod · 0.95
primaryExpressionMethod · 0.95
WhenClauseMethod · 0.95
VisitSelectSingleMethod · 0.45
VisitSortItemMethod · 0.45
VisitFunctionCallMethod · 0.45

Calls 3

booleanExpressionMethod · 0.95
NewExpressionContextFunction · 0.85
ReportErrorMethod · 0.65

Tested by

no test coverage detected