C (Domain-Specific Language Tools Glossary)

  • class feature
    A section of a text template in which reusable code is specified. A class feature can be added to the template generation class for use by other code blocks in the template.

  • compartment shape
    A shape that includes one or more compartments. This shape can be mapped to a domain class.

  • constraint
    A well-formedness condition on the model. Every constraint is implemented in a validation method.

  • culture parameter
    The parameter of a text template directive that specifies the culture for which the generated file is written.

  • custom directive
    A text template directive that the template engine redirects to a custom directive processor. Custom directives are used to add custom code to the code generation process.

  • custom directive processor
    A code plug-in that handles code generation for a specific set of custom directives.