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

Method VisitExpression

query/sql/sql_parser.go:652–657  ·  view source on GitHub ↗

***************** boolean expressions ****************** VisitExpression visits the node

(ctx *antlrgen.ExpressionContext)

Source from the content-addressed store, hash-verified

650
651// VisitExpression visits the node
652func (v *ASTBuilder) VisitExpression(ctx *antlrgen.ExpressionContext) interface{} {
653 v.Logger.Debugf("VisitExpression %s\n", v.getText(ctx))
654
655 v.SQL2AqlCtx.exprLogicalOp = tree.NOOP
656 return v.VisitChildren(ctx)
657}
658
659// VisitLogicalBinary visits the node
660func (v *ASTBuilder) VisitLogicalBinary(ctx *antlrgen.LogicalBinaryContext) interface{} {

Callers

nothing calls this directly

Calls 3

getTextMethod · 0.95
VisitChildrenMethod · 0.95
DebugfMethod · 0.65

Tested by

no test coverage detected