Hi all,
I couldn't get the inner ${identifier}.text, and the grammar as follow:
q1_1a_bk
(time_phrase)?
{
System.out.println($prep_time.text);
}
'\?';
time_phrase
: prep_time time;
prep_time :
'trong' |
'sau';
time : ('n\\u0103m')? DecimalLiteral ;
Please help me how I can get the $prep_time.text.
Thank you very much,
Ha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address