File: args.h

package info (click to toggle)
kf6-ktexttemplate 6.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,276 kB
  • sloc: cpp: 19,546; javascript: 6,043; python: 297; ruby: 24; makefile: 5
file content (13 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% for arg in method.args %
}
{ % comment % } { % endcomment % } {{arg.type | to_arg}} {{arg.name}} {
    % if default and arg.default %
}
= {{arg.default}} { % endif % } { % comment % } Add a comma between the arguments, except after the last one : { % endcomment % }
{
    % if not forloop.last %
}
, { % endif % }
{
    % endfor %
}