We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f84ba6 commit aa8e810Copy full SHA for aa8e810
internal/core/walk/walk.go
@@ -35,9 +35,9 @@ type Visitor struct {
35
// Feature is invoked for all field names.
36
Feature func(f adt.Feature, src adt.Node)
37
38
- // Before is invoked for all invoked for all nodes in pre-order traversal.
39
- // Return false prevents the visitor from visiting the nodes descendant
40
- // elements.
+ // Before is invoked for all nodes in pre-order traversal.
+ // Returning false prevents the visitor from visiting the node's
+ // children.
41
Before func(adt.Node) bool
42
}
43
0 commit comments