[antlr-interest] Duplicate nodes on a parse tree
parrt at cs.usfca.edu
Thu Jun 21 17:36:49 PDT 2007
Hmm...shoot. Ok, it needs to have a constructor with a pointer to the
parser itself so it can ask for the backtracking state. can you try
On Jun 22, 2007, at 10:07 AM, Markus Kuhla wrote:
> 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.
> 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!!!
> 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