Generator + NodeAttibutes: preserving info for certain generator hook-in?
In my case I have concepts X, Y, ... Z which are transformed (in multiple steps) to baseLanguage's Statements. I also have concept MeasureInvocationTime extends NodeAttribute, with which I want to mark former concepts. At the very last step before generating input model to baseLanguage I want to insert certain code around the code generated from annotated node.
Is there any way in MPS to preserve meta info for node (node attribute?) throughout transformation process up until transforming models to baseLanguage?
Or are there any strategies to do what I want?
Is there any way in MPS to preserve meta info for node (node attribute?) throughout transformation process up until transforming models to baseLanguage?
Or are there any strategies to do what I want?
Please sign in to leave a comment.