[antlr-interest] A way to find all subtrees of a particular type?
parrt at jguru.com
Wed May 21 10:22:04 PDT 2003
On Wednesday, May 21, 2003, at 08:50 AM, rustydstone wrote:
> 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
Won't that find all single nodes?
Creator, ANTLR Parser Generator: http://www.antlr.org
Co-founder, http://www.peerscope.com link sharing, pure-n-simple
Lecturer in Comp. Sci., University of San Francisco
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest