[antlr-interest] (no subject)

Ilinca Denisa FRECUS lilincutzy at yahoo.com
Tue Jun 14 06:26:26 PDT 2005


Hello,

I am trying to parse the following text with antlr:

ComponentA a;
a.methodA();

and I don't know how to check that the declared
variable is the one on which I call the operation (for
example something like:

ComponentA a;
b.methodA();

is not acceptable. )

How can I make a symbol table with antlr? Do I have to
traverse the CommonAST? How do I do this? (I don't
have acces to its children)

Thank you very much!

Ilinca Frecus


		
__________________________________ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html


More information about the antlr-interest mailing list