Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Code Template Syntax

Code Templates are written using Enterprise Architect's Code Template Editor. The Code Template Editor supports syntax highlighting of the Code Template Framework language.

Topics

Topic

Detail

See also

Basic Constructs

Templates can contain:

Literal Text
Variables
Macros
Calls to other templates
 

Literal Text

Variables

Macros

Call Templates From Templates

 

Comments

If you want to add comments to the templates, use the command:

 

$COMMENT="text"

 

where "text" is the text of the comment; this must be enclosed in quotes.

The command is case-sensitive, so must be typed in upper case.

 

 

Learn more