What this GREEN part means in the template?

Hello!
Questions to experts :) In Lambda sample there is a green instruction "extract ........=>" what does it mean? how to use this? I could not find how to enter such instruction.

1 comment

Hi,

I suggest you consult the inspector view. Press Ctrl/Cmd+2 to open it.

Or (at least on Windows), you can press Ctrl+Shift+S to open the declaration of a node you currently select.

It's a "ExtractStaticInnerClassExpression" of the baseLanguageInternal.

Another thing quite useful is to turn on " saving transient models" (at the very bottom right of MPS, a purple icon with a "T" in it) and then run a generator to see how it transforms models.

Best,

Robert

2

Please sign in to leave a comment.