Replies: 1 comment
-
During the runtime of Langium, the scoping mechanism is not aware which element was parsed with a specific set of guard conditions. These guards can only be used to influence parsing decisions, and nothing else. Note that a reference references an AST object type, and not a parser rule. The default behavior for parser rules is just that they generate a type named after themselves. |
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.
-
It does not seem that this is allowed:
Do I need to make reference to each version of the guard?
Beta Was this translation helpful? Give feedback.
All reactions