Default Langium ScopeProvider limits cross-references to flow from inner-most blocks to outer-most blocks (e.g. in Python, a variable in a for loop can reference a variable immediately outside of the loop block, but not one within an adjacent loop block).
Often, a requirement in a given set needs to x-reference a requirement in another set like so (which is not currently possible):
req set Set1 {
req RequirementInSet1
}
req set Set2 {
req RequirementInSet2 {
refines RequirementInSet1
}
}
Default Langium ScopeProvider limits cross-references to flow from inner-most blocks to outer-most blocks (e.g. in Python, a variable in a
for
loop can reference a variable immediately outside of the loop block, but not one within an adjacent loop block).Often, a requirement in a given set needs to x-reference a requirement in another set like so (which is not currently possible):