Walk traverses the data structure recursively and calls the given function once on each attribute starting with a.
(a *expr.AttributeExpr, walker func(*expr.AttributeExpr) error)
| 10 | // Walk traverses the data structure recursively and calls the given function |
| 11 | // once on each attribute starting with a. |
| 12 | func Walk(a *expr.AttributeExpr, walker func(*expr.AttributeExpr) error) error { |
| 13 | return walk(a, walker, make(map[string]bool)) |
| 14 | } |
| 15 | |
| 16 | // WalkType traverses the data structure recursively and calls the given function |
| 17 | // once on each attribute starting with the user type attribute. |
no test coverage detected