2015-04-25 17:29:20 -04:00
|
|
|
{% macro paramList(params) -%}
|
|
|
|
{%- if params -%}
|
|
|
|
({%- for param in params -%}
|
|
|
|
{$ param | escape $}{% if not loop.last %}, {% endif %}
|
|
|
|
{%- endfor %})
|
|
|
|
{%- endif %}
|
2015-05-15 08:57:38 -04:00
|
|
|
{%- endmacro -%}
|
|
|
|
|
|
|
|
|
|
|
|
{% macro returnType(returnType) -%}
|
|
|
|
{%- if returnType %} : {$ returnType | escape $}{% endif -%}
|
|
|
|
{%- endmacro -%}
|