xref: /aosp_15_r20/external/stardoc/stardoc/templates/markdown_tables/aspect.vm (revision b2fa42943c124aa9c7163734493fc7a7559681cf)
1<a id="${aspectName}"></a>
2
3#[[##]]# ${aspectName}
4
5<pre>
6${util.aspectSummary($aspectName, $aspectInfo)}
7</pre>
8
9${util.htmlEscape($aspectInfo.getDocString())}
10
11**ASPECT ATTRIBUTES**
12
13#if (!$aspectInfo.getAspectAttributeList().isEmpty())
14
15| Name | Type |
16| :------------- | :------------- |
17#foreach ($aspectAttribute in $aspectInfo.getAspectAttributeList())
18| $aspectAttribute| String |
19#end
20#end
21
22
23**ATTRIBUTES**
24
25#if (!$aspectInfo.getAttributeList().isEmpty())
26
27| Name  | Description | Type | Mandatory | Default |
28| :------------- | :------------- | :------------- | :------------- | :------------- |
29#foreach ($attribute in $aspectInfo.getAttributeList())
30| <a id="${aspectName}-${attribute.name}"></a>$attribute.name | #if(!$attribute.docString.isEmpty()) ${util.markdownCellFormat($attribute.docString)} #else - #end  | ${util.attributeTypeString($attribute)} | ${util.mandatoryString($attribute)} | #if(!$attribute.defaultValue.isEmpty()) <code>${util.htmlEscape($attribute.defaultValue)}</code> #end  |
31#end
32#end
33