[antlr-interest] Re: A way to find all subtrees of a particular type?
rustydstone
rustydstone at yahoo.com
Wed May 21 14:26:00 PDT 2003
> --- In antlr-interest at yahoogroups.com, Terence Parr <parrt at j...> wrote:
>
> > If you find all single MULT nodes have you not found precisely what
> > you're looking for?
> >
> > Ter
>
> You are absolutely right. Thanks
There's one small problem though. When creating a target AST, one must
know both target's type and text, otherwise findAllPartial() won't
work. In case of MULT I know both. In other cases, I do know the
target's type but not text.
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