> Yea, I just wanted a collection so I could use standard Groovy
> collection methods (grep, collect, etc).
That's an interesting idea. I like that. However, in general I am
worried about adding new access methods to the ASTNode class heirarchy
because it is already a large, complex tree of inheritance. Still,
having these collection functions work on ASTNodes is a good idea.
> Also TreeNode let's me know
> what the parent of each node is.
FYI, in 1.8 you can store arbitrary metadata on any ASTNode, so adding
"getParent/setParent" functionality is easy.