[antlr-interest] Hello & Parsing an AST

Guido 14.08.99 at gmx.de
Thu Aug 3 05:12:19 PDT 2006


Hi,

1.
ty at Kay for the links... I think I managed to get some knowledge (!?)

2.
Is it possible to add some conetent to the constuctor of my TreeParser 
within the *.g-File (so I don't have to change the TreeParser every time 
I compiled the grammar)?

is:
     public GTDLTreeParser() {
         tokenNames = _tokenNames;
     }

wanted:
     public GTDLTreeParser() {
         tokenNames = _tokenNames;
         Document doc = new Document(...);
     }

Greets,
Guido



More information about the antlr-interest mailing list