[antlr-interest] A way to find all subtrees of a particular type?

rustydstone rustydstone at yahoo.com
Wed May 21 08:50:14 PDT 2003


Hi,

Is there a way to find all subtrees of a particular type? For example,
let's say I'd like to find all subtrees related to multiplication
operation (*) regardless of what is being multiplied.

I was looking at findAllPartial() but it appears that it will not do that.

Any ideas? Thanks





 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list