-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Would it be possible to add another method to Marpa::R2::ASF, to traverse the tree such that each node is visited once? That's what I need right now, and I suspect it's what many users would expect to have available.
See https://metacpan.org/pod/Tree#traverse-order for 1 way to describe the 3 orderings usually available.
I can see the docs already say "Methods of the glade object are used to find information about the glade, and to move around in it.", but how to move around it is not clear. And the bit above that - "The traverser may be called at every node of the forest" -, using "may", is the bit which worries me. I really do need to visit /every/ node. And hitting each node once is of course assumed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels