[antlr-interest] Resetting an AST tree walker
Michael Bedward
michael.bedward at gmail.com
Wed Apr 22 20:33:43 PDT 2009
> I wonder what the logic is there. One of the big benefits of a tree walker
> is to be able to repeatedly walk the nodes. I hope they don't remove that
> capability from the BufferedTreeNodeStream. Did that one work for you?
> Except for increased memory is there ever a reason not to use
> BufferedTreeNodeStream instead of CommonTreeNodeStream?
Yep - BufferedTreeNodeStream does what I want. But as to the logic of
the changes, or when either class is preferable, I'm afraid I don't
know. More docs on this would be nice.
Michael
More information about the antlr-interest
mailing list