[antlr-interest] how to print input statement when it is matched with grammar rule
harshada gune
gune.harshada at gmail.com
Mon Sep 15 09:20:04 PDT 2008
Suppose I am having following grammar rule;
stmt : LHS '=' RHS ;
Now when input statement matches this rule, I want to print the input
statement or use it in some another way(Say I want to save it).
How can I do this? In which variable this matched input is stored?
Thanks and regards,
Harshada.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080915/916d12ec/attachment.html
More information about the antlr-interest
mailing list