Tags are an alternative naming for modeling elements.
The idea is to use a hybrid editor for Paml source code, that's to combine text and projection editors for Paml source code (pure text editor or pure projection one seem not convenient enough for required features). Most of Paml source code is a text, but this text is extended by UI features to explicitly display/work with models metadata. Actually, Paml transformations operate on models via metadata as well.
Paml source code is not a text file. Paml hybrid source code editor displays tags and other metadata providing an ability to look/manipulate some AST nodes/elements.
Tags are a piece of metadata for models such as objects, values, routines etc. In general, tags are not a new feature but the idea is to apply tags to models in Paml source code. Then tags can be used by transformation selectors to select model elements and apply transformations to them.
Tags extend and generalize the concepts of point cuts from AOP. With tags, selecting models for transforming is not limited anymore by code elements such as method signatures, parameter types or class visibility. Tags can define semantical point cuts from both, domain and implementation, levels. Tags are an alternative naming for cross-cutting functionality.
Write a comment