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

Method Visit

query/sql/sql_parser.go:164–169  ·  view source on GitHub ↗

Visit visits the node

(tree antlr.ParseTree)

Source from the content-addressed store, hash-verified

162
163// Visit visits the node
164func (v *ASTBuilder) Visit(tree antlr.ParseTree) interface{} {
165 if tree == nil {
166 return nil
167 }
168 return tree.Accept(v)
169}
170
171// VisitChildren visits the node
172func (v *ASTBuilder) VisitChildren(node antlr.RuleNode) interface{} {

Callers 15

getQualifiedNameMethod · 0.95
visitIfPresentMethod · 0.95
visitListMethod · 0.95
VisitQueryMethod · 0.95
VisitNamedQueryMethod · 0.95
VisitQueryNoWithMethod · 0.95
VisitSelectSingleMethod · 0.95
VisitGroupByMethod · 0.95
VisitSortItemMethod · 0.95
VisitLogicalBinaryMethod · 0.95

Calls 1

AcceptMethod · 0.65

Tested by

no test coverage detected