~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/Documentation/Source/eric4.DocumentationTools.APIGenerator.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
 
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
 
4
<html><head>
 
5
<title>eric4.DocumentationTools.APIGenerator</title>
 
6
<style>
 
7
body {
 
8
    background:white;
 
9
    margin: 0em 1em 10em 1em;
 
10
    color: black;
 
11
}
 
12
 
 
13
h1 { color: white; background: #4FA4FF; }
 
14
h2 { color: white; background: #4FA4FF; }
 
15
h3 { color: white; background: #00557F; }
 
16
h4 { color: white; background: #00557F; }
 
17
    
 
18
a { color: #AA5500; }
 
19
 
 
20
</style>
 
21
</head>
 
22
<body><a NAME="top" ID="top"></a>
 
23
<h1>eric4.DocumentationTools.APIGenerator</h1>
 
24
<p>
 
25
Module implementing the builtin API generator.
 
26
</p>
 
27
<h3>Classes</h3>
 
28
<table>
 
29
<tr>
 
30
<td><a href="#APIGenerator">APIGenerator</a></td>
 
31
<td>Class implementing the builtin documentation generator.</td>
 
32
</tr>
 
33
</table>
 
34
<h3>Functions</h3>
 
35
<table>
 
36
<tr><td>None</td></tr>
 
37
</table>
 
38
<hr /><hr />
 
39
<a NAME="APIGenerator" ID="APIGenerator"></a>
 
40
<h2>APIGenerator</h2>
 
41
<p>
 
42
    Class implementing the builtin documentation generator.
 
43
</p>
 
44
<h3>Derived from</h3>
 
45
object
 
46
<h3>Methods</h3>
 
47
<table>
 
48
<tr>
 
49
<td><a href="#APIGenerator.__init__">APIGenerator</a></td>
 
50
<td>Constructor</td>
 
51
</tr><tr>
 
52
<td><a href="#APIGenerator.__addClassesAPI">__addClassesAPI</a></td>
 
53
<td>Private method to generate the document section with details about classes.</td>
 
54
</tr><tr>
 
55
<td><a href="#APIGenerator.__addFunctionsAPI">__addFunctionsAPI</a></td>
 
56
<td>Private method to generate the document section with details about functions.</td>
 
57
</tr><tr>
 
58
<td><a href="#APIGenerator.__addMethodsAPI">__addMethodsAPI</a></td>
 
59
<td>Private method to generate the method details section.</td>
 
60
</tr><tr>
 
61
<td><a href="#APIGenerator.__isPrivate">__isPrivate</a></td>
 
62
<td>Private method to check, if a name is considered private.</td>
 
63
</tr><tr>
 
64
<td><a href="#APIGenerator.genAPI">genAPI</a></td>
 
65
<td>Method to generate the source code documentation.</td>
 
66
</tr>
 
67
</table>
 
68
<p><a NAME="APIGenerator.__init__" ID="APIGenerator.__init__"></a>
 
69
<h4>APIGenerator (Constructor)</h4>
 
70
<b>APIGenerator</b>(<i>module</i>)
 
71
<p>
 
72
        Constructor
 
73
</p><dl>
 
74
<dt><i>module</i></dt>
 
75
<dd>
 
76
The information of the parsed Python file.
 
77
</dd>
 
78
</dl><a NAME="APIGenerator.__addClassesAPI" ID="APIGenerator.__addClassesAPI"></a>
 
79
<h4>APIGenerator.__addClassesAPI</h4>
 
80
<b>__addClassesAPI</b>(<i></i>)
 
81
<p>
 
82
        Private method to generate the document section with details about classes.
 
83
</p><dl>
 
84
<dt>Returns:</dt>
 
85
<dd>
 
86
The classes details section. (string)
 
87
</dd>
 
88
</dl><a NAME="APIGenerator.__addFunctionsAPI" ID="APIGenerator.__addFunctionsAPI"></a>
 
89
<h4>APIGenerator.__addFunctionsAPI</h4>
 
90
<b>__addFunctionsAPI</b>(<i></i>)
 
91
<p>
 
92
        Private method to generate the document section with details about functions.
 
93
</p><dl>
 
94
<dt>Returns:</dt>
 
95
<dd>
 
96
The functions details section. (string)
 
97
</dd>
 
98
</dl><a NAME="APIGenerator.__addMethodsAPI" ID="APIGenerator.__addMethodsAPI"></a>
 
99
<h4>APIGenerator.__addMethodsAPI</h4>
 
100
<b>__addMethodsAPI</b>(<i>className</i>)
 
101
<p>
 
102
        Private method to generate the method details section.
 
103
</p><dl>
 
104
<dt><i>classname</i></dt>
 
105
<dd>
 
106
Name of the class containing the method. (string)
 
107
</dd>
 
108
</dl><dl>
 
109
<dt>Returns:</dt>
 
110
<dd>
 
111
The method details section. (string)
 
112
</dd>
 
113
</dl><a NAME="APIGenerator.__isPrivate" ID="APIGenerator.__isPrivate"></a>
 
114
<h4>APIGenerator.__isPrivate</h4>
 
115
<b>__isPrivate</b>(<i>name</i>)
 
116
<p>
 
117
        Private method to check, if a name is considered private.
 
118
</p><dl>
 
119
<dt>Returns:</dt>
 
120
<dd>
 
121
flag indicating a name, that is considered private (boolean)
 
122
</dd>
 
123
</dl><a NAME="APIGenerator.genAPI" ID="APIGenerator.genAPI"></a>
 
124
<h4>APIGenerator.genAPI</h4>
 
125
<b>genAPI</b>(<i>newStyle, basePackage, includePrivate</i>)
 
126
<p>
 
127
        Method to generate the source code documentation.
 
128
</p><dl>
 
129
<dt><i>newStyle</i></dt>
 
130
<dd>
 
131
flag indicating the api generation for QScintilla 1.7 and
 
132
            newer (boolean)
 
133
</dd><dt><i>basePackage</i></dt>
 
134
<dd>
 
135
name of the base package (string)
 
136
</dd><dt><i>includePrivate</i></dt>
 
137
<dd>
 
138
flag indicating to include
 
139
            private methods/functions (boolean)
 
140
</dd>
 
141
</dl><dl>
 
142
<dt>Returns:</dt>
 
143
<dd>
 
144
The API information. (string)
 
145
</dd>
 
146
</dl></p>
 
147
<div align="right"><a href="#top">Up</a></div>
 
148
<hr />
 
149
</body></html>
 
 
b'\\ No newline at end of file'