<memberOf>

<memberOf> 親要素や親クラスを示す.
モジュールtagdocs — 22 Documentation Elements
属性
key 当該要素またはクラスが下位要素・下位クラスとなっているクラスの識 別子を示す.
状態 任意
データ型
data.name
mode 当該宣言が親モジュールに与える影響を示す.
状態 任意
正当な値:
add
当該宣言は,現行定義に追加される. [初期値]
delete
当該宣言と全子要素は,現行定義から外される.
当該モジュールを使用するものclasses
下位
gaiji: g
宣言
element memberOf
{
   att.global.attributes,
   attribute key { data.name }?,
   attribute mode { "add" | "delete" }?,
   macro.xtext
}
<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).

解説
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.