I'm a beginner in MPS. In my generator I have a loop node macro and within this macro I want to access on the parent node of the current node.
Is there a possibility to do it? Is it necessary to cast the parent node?
Lets say I have a "Car" node and within this node I have four "Wheel" nodes. The node of my loop-node-macro is pointing to a "Wheel"-node and I want to access to the "Car"-node. Is it possible?
I found the "parent" operation in the node macro but don't know what it's good for... .
Please post a whole small example of accessing to parent nodes within node macros.
Thanks a lot!