QualifiedNameValueConverter related query [message #1691394] |
Tue, 07 April 2015 03:15 |
|
HI All,
I have a grammar snippet as:
Few examples for this grammar would be: myName1.myAddress1, myName2.myAddress2.pin.
I have written a value conversion rule for this by injecting QualifiedNameValueConverter and returning the value. It works in all the sense.
Now, I have updated my grammar to:
MyID:
ID((".")(INTRULE)?ID)*
;
INTRULE:
(INT)*
;
Now, Few examples for this grammar would be: myName1.2myAddress1, myName2.4myAddress2.pin.
i.e. after a . (dot) I need a digit. The grammar works well in the editor. But because of this QualifiedNameValueConverter conversion digits are getting removed after a . (dot).
Any suggestions here ?
Thanks in advance
Arshad
[Updated on: Tue, 07 April 2015 03:16] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05459 seconds