[antlr-interest] Duplicate nodes on a parse tree
Markus Kuhla
bace.spam at gmx.net
Thu Jun 21 17:07:40 PDT 2007
Hi!
Vadim Tropashko vadimtro at yahoo.com wrote:
> OK, I see the coloring (when tree is in chart form).
> It must be the Tree.getType() method that does this.
(http://www.antlr.org/pipermail/antlr-interest/2007-March/019566.html)
I'm using the ParseTree and was wondering if there is a way to remove these duplicate nodes (for backtracking) from the ParseTree? As I checked the above described getType() for each node in the tree, I always got 0 (zero).
Thanks folks for you help!!!
Best,
Markus
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the antlr-interest
mailing list