How to create scope for different ast nodes as members? #1730
Unanswered
durianwaffle
asked this question in
Q&A
Replies: 1 comment 2 replies
-
i propose you debug |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Langium community,
In my grammar, user can initialize input or output parameters in function calls
For example,
func(input1:=1, output1=>bool)
.Input parameter and output parameters are two types of AST nodes defined by our grammar.
I tried to use scope provider to resolve the alert msg
Could not resolve reference to Parameter named 'input1'
andCould not resolve reference to Parameter named 'output1'
. But it doesn't work.I printed out the output of function scopeFunctionBlockParameters, it contains the input and output parameters for function blocks. But the two alert msgs still exist.
Beta Was this translation helpful? Give feedback.
All reactions