Template:PublicMethod

From Arianne
Jump to navigation Jump to search

Template output:

()

Description

Template for creating method representations.

Examples

Input {{PublicMethod | helloWorld | desc=A test method. | params=param1, param2|paramlist=

{{MethodParam | param1 | type=int | desc=First parameter}}
{{MethodParam | param2 | type=String|desc=Second parameter}} | ret=An integer value. | rettype=int }}

Output
helloWorld (param1, param2)
A test method.
param1 : (int) First parameter
param2 : (String) Second parameter
returns: (int) An integer value.