Copying all node attributes to new root node in root mapping rule
Hi all,
Using root mapping rule, I am creating a new root. But don't know how to copy node attributes to new root node.
For example, @copying documentation comment, and @deprecated annotation from the class to new root node.
Can you please help to do this?
Thanks.
Regards,
Palpandi
Please sign in to leave a comment.
Try this - https://confluence.jetbrains.com/display/MPSD20181/Generator#Generator-Handlingofnodeattributesduringgeneration