Skip to content

How to implements 'this' keyword in with langium ? #1325

Answered by msujew
hyphappy011 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @hyphappy011,

to support the this keyword correctly, you would need to implement a specialized scope provider. You can find a general guide on it here. Unfortunately, the Langium playground doesn't offer to define a new scope provider, and the default scoping doesn't cover this kind of advanced use case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hyphappy011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants