Constructors
{% if entity.constructors and entity.constructors.size > 0 %}
{% for ctorParamLists in entity.constructors %}
{{ entity.name }}
{% for plist in ctorParamLists %}
(
{% if plist.isImplicit %}
implicit
{% endif %}
{% for param in plist.list %}
{{ param.title }}:
{% if param.isByName %}=>{% endif %}
{% renderRef param.ref %}
{% unless forloop.last %}, {% endunless %}
{% endfor %}
)
{% endfor %}
{% endfor %}
{% else %}
This {{ entity.kind }} cannot be constructed.
{% endif %}
{% endif %}