@ macro typeList(types) -@> <@ set separator = joiner("|") @> <@ for type in types @><$ separator() $><$ type | code $><@ endfor @> <@- endmacro -@> <@ macro paramTable(params, isDirective) @>
| <@ if isDirective @>Attr<@ else @>Param<@ endif @> | Type | Details |
|---|---|---|
|
<$ param.name $>
<@ if param.alias @>| <$ param.alias $><@ endif @>
<@ if param.type.optional @> (optional) <@ endif @>
|
<$ typeList(param.typeList) $> |
<$ param.description | marked $>
<@ if param.default @> (default: <$ param.default $>) <@ endif @> |