Debian Codegraph @

en/refpages/elements/methodsynopsis/refentry.xml

raw symbols SCIP
1 <refentry id="methodsynopsis.element" revision='4.0'>
2 <?dbhtml filename="methodsynopsis.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>methodsynopsis</secondary></indexterm>
11 <refentrytitle>methodsynopsis</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>methodsynopsis</refname>
16 <refpurpose>&methodsynopsis.purpose;</refpurpose>
17 </refnamediv>
18
19 &methodsynopsis.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>MethodSynopsis</sgmltag> contains the syntax summary of a
24 method (generally speaking, methods in the object-oriented programming
25 language sense).
26 </para>
27
28 <para>
29 This is one of the few places where DocBook attempts to model as well
30 as describe. Unlike <sgmltag>FuncSynopsis</sgmltag> which was designed
31 with C language function prototypes in mind, the content model of
32 <sgmltag>MethodSynopsis</sgmltag> was designed to capture a wide range
33 of semantics.</para>
34
35 <refsect2><title>Processing expectations</title>
36 <para>
37 For the most part, the processing application is expected to
38 generate all of the parenthesis, semicolons, commas,
39 and so on. required in the rendered synopsis.
40 </para>
41 </refsect2>
42
43 &methodsynopsis.parents.gen;
44 &methodsynopsis.children.gen;
45 </refsect1>
46
47 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
48 <variablelist>
49 <varlistentry><term>language</term>
50 <listitem>
51 <para>Identifies the programming language of the method.</para>
52 </listitem>
53 </varlistentry>
54 </variablelist>
55 </refsect1>
56 </refentry>
57