Debian Codegraph @

ru/refpages/elements/funcdef/refentry.xml

raw symbols SCIP
1 <refentry id="funcdef.element">
2 <?dbhtml filename="funcdef.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>funcdef</secondary></indexterm>
11 <refentrytitle>funcdef</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>funcdef</refname>
16 <refpurpose>&funcdef.purpose;</refpurpose>
17 </refnamediv>
18
19 &funcdef.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>FuncDef</sgmltag> contains the name of a programming language function,
24 and its return type.
25 </para>
26 <para>
27 Within the <sgmltag>FuncDef</sgmltag>, the function name is identified with
28 <sgmltag>Function</sgmltag>, and the rest of the content is assumed to be the
29 return type.
30 </para>
31 <para>
32 In the following definition, <function>max</function> is the name of the
33 function and <type>int</type> is the return type:
34 <screen>
35 <![CDATA[
36 <funcdef>int <function>max</function></funcdef>
37 ]]>
38 </screen>
39 </para>
40
41 <refsect2><title>Processing expectations</title>
42 <para>
43 &format.inline; For a complete description of the processing expecations,
44 see <sgmltag>FuncSynopsis</sgmltag>.
45 </para>
46 </refsect2>
47
48
49 &funcdef.parents.gen;
50 &funcdef.children.gen;
51 </refsect1>
52 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
53 &funcdef.seealso.gen;
54 </refsect1>
55 <refsect1><title>Examples</title>
56
57 <informalexample role="example-source">
58 <programlisting>&funcdef.example.1.txt;</programlisting>
59 </informalexample>
60
61 <anchor id="ex.os.funcdef.1" role="HACK-ex.out.start"/>
62 &funcdef.example.1.gen;
63 <anchor id="ex.oe.funcdef.1" role="HACK-ex.out.end"/>
64
65 &funcdef.example.seealso.gen;
66 </refsect1>
67 </refentry>
68