Show in Frame No Frame
Up Previous Next Title Page Index Contents Search

6.7.1 Context

While writing generator definitions, it is important to keep in mind the context you are operating on. For example, when diving through an explosion link, the context changes from the original graph to that of the explosion graph, which may be of a different graph type. This means that the parts of the generator definition that handle the explosion graph must be written according to that graph’s metamodel. Similarly, when accessing properties, you may encounter a situation where a non-property is used as a property, and therefore you have to be aware of what kind of information you can retrieve from it.

Show in Frame No Frame
Up Previous Next Title Page Index Contents Search