comment

Syntax

[#comment]text[/#comment]

Description

The comment tag can be used to add a comment in the doc template. The contents of this tag is not processed and is not part of the output.

Examples

This code processes a UML model contents and outputs the name of its owned package elements :

[#parameters]in model : uml21[/#parameters]
[#file]result.xml[/#file]
[#comment]'model.getInstances(“Package”)' evaluates to a collection containing each package of the model[/#comment]
Model contents:
[#foreach p : uml21.Package in model.getInstances(“Package”)]
    Package name: ${p.name}
[/#foreach]