Text template

A text template specifies the information to generate in a given file as well as the name of the file. A text template can have parameters that are used to derive the dynamic contents based on the specific model under consideration.

A text template specifies a combination of static text and placeholders for data to be extracted from models. These placeholders are essentially expressions specified for metamodel entities with queries and patterns being the primary mechanisms for selecting and extracting the values from models. The language used to define text template is TGL (Text Generation Language).

Related reference
Text template structure
Template directive