MCPcopy Index your code
hub / github.com/uber/aresdb / WalkFunc

Function WalkFunc

query/expr/ast.go:569–571  ·  view source on GitHub ↗

WalkFunc traverses an expression hierarchy in depth-first order.

(e Expr, fn func(Expr))

Source from the content-addressed store, hash-verified

567
568// WalkFunc traverses an expression hierarchy in depth-first order.
569func WalkFunc(e Expr, fn func(Expr)) {
570 Walk(walkFuncVisitor(fn), e)
571}
572
573type walkFuncVisitor func(Expr)
574

Callers

nothing calls this directly

Calls 2

WalkFunction · 0.85
walkFuncVisitorFuncType · 0.85

Tested by

no test coverage detected