nned help on printing strings matched by an ANTLR parser rule
- From: mabel <maryjoy883@xxxxxxxxx>
- Date: Sun, 16 Mar 2008 23:36:15 -0700 (PDT)
Hi Friends
I need some help on how to print the input string in an input file
matched by a parser rule in ANTLR
The parser rule can contain many subrules and tokens
The rules can be of the form (~SEMI *) LFPAREN header; etc
I want to extract the string in the input file which matches a
particular rule like above.
Any help is greatly appreciated
Thanks in advance
Mabel
.