prototype

Prototype of a function or source

Description

List of variable declarations, which can be passed when calling a function or adding a source.

Attributes

Children

Examples

Input Example:

<function name="f">
<prototype>
<declare name="v" type="string"/>
</prototype>
<_xml_/>
<value-of-var name="v"/>
</function>
<call-function name="f">
<with name="v" value="ok"/>
</call-function>

Output Example:

<function name="f">
<prototype>
<declare name="v" type="string"/>
</prototype>
<_xml_/>
<value-of-var name="v"/>
</function>
<_xml_/>ok