[antlr-interest] A way to find all subtrees of a particular type?
Terence Parr
parrt at jguru.com
Wed May 21 10:22:04 PDT 2003
On Wednesday, May 21, 2003, at 08:50 AM, rustydstone wrote:
> 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.
Won't that find all single nodes?
Ter
--
Co-founder, http://www.jguru.com
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
mailing list