Xtext Tip: Context dependent FQNs in Xtext
One of my favorite features of Xtext is the ability to have context dependant FQNs. One application of the feature is the this keyword, which is used to refer to the current instance in languages like Java. The full code for this example can be found here.
The basic block language
We are using the same block langague that we used in a previous tip. This time, however, we allow the aliases to use the this keyword in the alias field.