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

Function NewExpression

query/sql/tree/Expression.go:30–34  ·  view source on GitHub ↗

NewExpression creates Expression

(location *NodeLocation)

Source from the content-addressed store, hash-verified

28
29// NewExpression creates Expression
30func NewExpression(location *NodeLocation) *Expression {
31 return &Expression{
32 NewNode(location),
33 }
34}
35
36// Accept accepts visitor
37func (e *Expression) Accept(visitor AstVisitor, ctx interface{}) interface{} {

Callers 6

VisitLogicalBinaryMethod · 0.92
VisitBooleanDefaultMethod · 0.92
VisitLogicalNotMethod · 0.92
VisitFunctionCallMethod · 0.92
NewIdentifierFunction · 0.85

Calls 1

NewNodeFunction · 0.70

Tested by

no test coverage detected