Debian Codegraph @

en/refpages/elements/classsynopsis/refentry.xml

raw symbols SCIP
1 <refentry id="classsynopsis.element" revision='4.0'>
2 <?dbhtml filename="classsynopsis.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>classsynopsis</secondary></indexterm>
11 <refentrytitle>classsynopsis</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>classsynopsis</refname>
16 <refpurpose>&classsynopsis.purpose;</refpurpose>
17 </refnamediv>
18
19 &classsynopsis.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>ClassSynopsis</sgmltag> contains the syntax summary of a
24 class (generally speaking, a class 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>ClassSynopsis</sgmltag> was designed to capture a wide range
33 of object-oriented language 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. The exception to this
40 rule is that the spacing and other punctuation inside a
41 parameter that is a pointer to a function must be provided in
42 the source markup.
43 </para>
44 </refsect2>
45
46
47 &classsynopsis.parents.gen;
48 &classsynopsis.children.gen;
49 </refsect1>
50 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
51 <variablelist>
52 <varlistentry><term>class</term>
53 <listitem>
54 <para revision="4.0">The <sgmltag class="attribute">Class</sgmltag>
55 attribute identifies the whether this is the synopsis of a class
56 or an interface.</para>
57 </listitem>
58 </varlistentry>
59 <varlistentry><term>language</term>
60 <listitem>
61 <para revision="4.0">Identifies the language (Java, C++, Perl, etc.)
62 of the class for which this is a synopsis allows stylesheets to select
63 an appropriate rendering.</para>
64 </listitem>
65 </varlistentry>
66 </variablelist>
67 </refsect1>
68 </refentry>
69