How to print labels?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kishore_Tigalapalli
Posted On:   Monday, August 22, 2005 07:47 AM

I have the following production rule in my grammar file.



assignment:

     vble:IDENTIFIER ":=" expr ";"

     {System.out.println("Assign to: "+vble.getText());}

     ;



I am printing the value of vble as shown above.
Please let me know if there is any other way to print the value to the screen.



Thanks,

Kishore

About | Sitemap | Contact