<memberOf>

<memberOf> especifica la pertenencia a una clase del elemento o clase padre.
Módulotagdocs — 22 Documentation Elements
Atributos
keyespecifica el identificador de una clase de la cual el elemento o clase indicados son un miembro o una subclase.
Estado Opcional
Tipo de datos
data.name
modespecifies the effect of this declaration on its parent module.
Estado Opcional
Los valores admitidos son:
add
this declaration is added to the current definitions [Por defecto]
delete
this declaration and all of its children are removed from the current setup
Used byclasses
May contain
gaiji: g
Declaración
element memberOf
{
   att.global.attributes,
   attribute key { data.name }?,
   attribute mode { "add" | "delete" }?,
   macro.xtext
}
Ejemplo
<memberOf key="model.divLike"/>
<memberOf key="att.identified"/>

This element will appear in any content model which references model.divLike, and will have attributes defined in att.identified (in addition to any defined explicitly for this element).

Nota
Elements or classes which are members of multiple (unrelated) classes will have more than one <memberOf> element, grouped by a <classes> element. If an element is a member of a class C1, which is itself a subclass of a class C2, there is no need to state this, other than in the documentation for class C1.
Any additional comment or explanation of the class membership may be provided as content for this element.