(node *ast.Node)
| 13 | } |
| 14 | |
| 15 | func (v *visitor) Visit(node *ast.Node) { |
| 16 | if n, ok := (*node).(*ast.IdentifierNode); ok { |
| 17 | v.identifiers = append(v.identifiers, n.Value) |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func TestWalk(t *testing.T) { |
| 22 | var node ast.Node |
nothing calls this directly
no outgoing calls
no test coverage detected