Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / private / function_signature.html
1 {{- Parameters:
2     |api|: the schema for the API that the function belongs to
3     |function|: the schema for the function
4     |parentName|: name of the parent object of the function
5     |disableLink|: if not null, no link will be shown for types
6 -}}
7 <code class="prettyprint">
8 {{?r:function.returns}}{{+partials.variable_type type:r disableLink:disableLink/}}
9 {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p disableLink:disableLink/}}{{^p.last}}, {{/}}{{/}})
10 </code>