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

Function NewStatement

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

NewStatement creates Statement

(location *NodeLocation)

Source from the content-addressed store, hash-verified

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

Callers 1

NewQueryFunction · 0.85

Calls 1

NewNodeFunction · 0.70

Tested by

no test coverage detected