Resolve grammar ambiguity #1030
Unanswered
idiosyncrasy00
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hi @LockedAwya, What exactly is your |
Beta Was this translation helpful? Give feedback.
2 replies
-
@msujew You can check out the grammar definition in my playground here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all. So I got a grammar rule like this:
The problem seems to lie in here, since I want to the type is referenced as either class type (type), primitive type (type1) or OCL type (type2), because with the ambiguity, it only recognizes class type, not primitive type or OCL type without parenthesis:
How can I resolve this issue, in a case that class type, primitive type and OCL type (without parenthesis) share a common prefix?
Beta Was this translation helpful? Give feedback.
All reactions