| Allow keywords in any order [message #984412] |
Wed, 14 November 2012 12:26  |
Aaron Digulla Messages: 235 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
I need this feature in my grammar:
ClassDefinition : ('opt1'|'opt2'|'opt3')*? name=ID ";" ;
where "*?" means "any of them in any order but each one only once".
How can I do something like that?
Background: I have some places where a rule has 5-10 options and I want to enable users to give them in any order.
Regards,
A. Digulla
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01663 seconds