Documentation/Source/eric4.Utilities.ClassBrowsers.idlclbr.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
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.Utilities.ClassBrowsers.idlclbr</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.Utilities.ClassBrowsers.idlclbr</h1>
24 <p>
25 Parse a CORBA IDL file and retrieve modules, interfaces, methods and attributes.
26 </p><p>
27 Parse enough of a CORBA IDL file to recognize module, interface and method definitions
28 and to find out the superclasses of an interface as well as its attributes.
29 </p><p>
30 It is based on the Python class browser found in this package.
31 </p>
32 <h3>Global Attributes</h3>
33 <table>
34 <tr><td>SUPPORTED_TYPES</td></tr><tr><td>_commentsub</td></tr><tr><td>_getnext</td></tr><tr><td>_modules</td></tr><tr><td>_normalize</td></tr>
35 </table>
36 <h3>Classes</h3>
37 <table>
38 <tr>
39 <td><a href="#Attribute">Attribute</a></td>
40 <td>Class to represent a CORBA IDL attribute.</td>
41 </tr><tr>
42 <td><a href="#Function">Function</a></td>
43 <td>Class to represent a CORBA IDL function.</td>
44 </tr><tr>
45 <td><a href="#Interface">Interface</a></td>
46 <td>Class to represent a CORBA IDL interface.</td>
47 </tr><tr>
48 <td><a href="#Module">Module</a></td>
49 <td>Class to represent a CORBA IDL module.</td>
50 </tr><tr>
51 <td><a href="#VisibilityMixin">VisibilityMixin</a></td>
52 <td>Mixin class implementing the notion of visibility.</td>
53 </tr>
54 </table>
55 <h3>Functions</h3>
56 <table>
57 <tr>
58 <td><a href="#readmodule_ex">readmodule_ex</a></td>
59 <td>Read a CORBA IDL file and return a dictionary of classes, functions and modules.</td>
60 </tr>
61 </table>
62 <hr /><hr />
63 <a NAME="Attribute" ID="Attribute"></a>
64 <h2>Attribute</h2>
65 <p>
66 Class to represent a CORBA IDL attribute.
67 </p>
68 <h3>Derived from</h3>
69 ClbrBaseClasses.Attribute, VisibilityMixin
70 <h3>Class Attributes</h3>
71 <table>
72 <tr><td>None</td></tr>
73 </table>
74 <h3>Methods</h3>
75 <table>
76 <tr>
77 <td><a href="#Attribute.__init__">Attribute</a></td>
78 <td>Constructor</td>
79 </tr>
80 </table>
81 <a NAME="Attribute.__init__" ID="Attribute.__init__"></a>
82 <h4>Attribute (Constructor)</h4>
83 <b>Attribute</b>(<i>module, name, file, lineno</i>)
84 <p>
85 Constructor
86 </p><dl>
87 <dt><i>module</i></dt>
88 <dd>
89 name of the module containing this class
90 </dd><dt><i>name</i></dt>
91 <dd>
92 name of this class
93 </dd><dt><i>file</i></dt>
94 <dd>
95 filename containing this attribute
96 </dd><dt><i>lineno</i></dt>
97 <dd>
98 linenumber of the class definition
99 </dd>
100 </dl>
101 <div align="right"><a href="#top">Up</a></div>
102 <hr /><hr />
103 <a NAME="Function" ID="Function"></a>
104 <h2>Function</h2>
105 <p>
106 Class to represent a CORBA IDL function.
107 </p>
108 <h3>Derived from</h3>
109 ClbrBaseClasses.Function, VisibilityMixin
110 <h3>Class Attributes</h3>
111 <table>
112 <tr><td>None</td></tr>
113 </table>
114 <h3>Methods</h3>
115 <table>
116 <tr>
117 <td><a href="#Function.__init__">Function</a></td>
118 <td>Constructor</td>
119 </tr>
120 </table>
121 <a NAME="Function.__init__" ID="Function.__init__"></a>
122 <h4>Function (Constructor)</h4>
123 <b>Function</b>(<i>module, name, file, lineno, signature = '', separator = ', '</i>)
124 <p>
125 Constructor
126 </p><dl>
127 <dt><i>module</i></dt>
128 <dd>
129 name of the module containing this function
130 </dd><dt><i>name</i></dt>
131 <dd>
132 name of this function
133 </dd><dt><i>file</i></dt>
134 <dd>
135 filename containing this class
136 </dd><dt><i>lineno</i></dt>
137 <dd>
138 linenumber of the class definition
139 </dd><dt><i>signature</i></dt>
140 <dd>
141 parameterlist of the method
142 </dd><dt><i>separator</i></dt>
143 <dd>
144 string separating the parameters
145 </dd>
146 </dl>
147 <div align="right"><a href="#top">Up</a></div>
148 <hr /><hr />
149 <a NAME="Interface" ID="Interface"></a>
150 <h2>Interface</h2>
151 <p>
152 Class to represent a CORBA IDL interface.
153 </p>
154 <h3>Derived from</h3>
155 ClbrBaseClasses.Class, VisibilityMixin
156 <h3>Class Attributes</h3>
157 <table>
158 <tr><td>None</td></tr>
159 </table>
160 <h3>Methods</h3>
161 <table>
162 <tr>
163 <td><a href="#Interface.__init__">Interface</a></td>
164 <td>Constructor</td>
165 </tr>
166 </table>
167 <a NAME="Interface.__init__" ID="Interface.__init__"></a>
168 <h4>Interface (Constructor)</h4>
169 <b>Interface</b>(<i>module, name, super, file, lineno</i>)
170 <p>
171 Constructor
172 </p><dl>
173 <dt><i>module</i></dt>
174 <dd>
175 name of the module containing this class
176 </dd><dt><i>name</i></dt>
177 <dd>
178 name of this interface
179 </dd><dt><i>super</i></dt>
180 <dd>
181 list of interface names this interface is inherited from
182 </dd><dt><i>file</i></dt>
183 <dd>
184 filename containing this interface
185 </dd><dt><i>lineno</i></dt>
186 <dd>
187 linenumber of the interface definition
188 </dd>
189 </dl>
190 <div align="right"><a href="#top">Up</a></div>
191 <hr /><hr />
192 <a NAME="Module" ID="Module"></a>
193 <h2>Module</h2>
194 <p>
195 Class to represent a CORBA IDL module.
196 </p>
197 <h3>Derived from</h3>
198 ClbrBaseClasses.Module, VisibilityMixin
199 <h3>Class Attributes</h3>
200 <table>
201 <tr><td>None</td></tr>
202 </table>
203 <h3>Methods</h3>
204 <table>
205 <tr>
206 <td><a href="#Module.__init__">Module</a></td>
207 <td>Constructor</td>
208 </tr>
209 </table>
210 <a NAME="Module.__init__" ID="Module.__init__"></a>
211 <h4>Module (Constructor)</h4>
212 <b>Module</b>(<i>module, name, file, lineno</i>)
213 <p>
214 Constructor
215 </p><dl>
216 <dt><i>module</i></dt>
217 <dd>
218 name of the module containing this class
219 </dd><dt><i>name</i></dt>
220 <dd>
221 name of this class
222 </dd><dt><i>file</i></dt>
223 <dd>
224 filename containing this class
225 </dd><dt><i>lineno</i></dt>
226 <dd>
227 linenumber of the class definition
228 </dd>
229 </dl>
230 <div align="right"><a href="#top">Up</a></div>
231 <hr /><hr />
232 <a NAME="VisibilityMixin" ID="VisibilityMixin"></a>
233 <h2>VisibilityMixin</h2>
234 <p>
235 Mixin class implementing the notion of visibility.
236 </p>
237 <h3>Derived from</h3>
238 ClbrBaseClasses.ClbrVisibilityMixinBase
239 <h3>Class Attributes</h3>
240 <table>
241 <tr><td>None</td></tr>
242 </table>
243 <h3>Methods</h3>
244 <table>
245 <tr>
246 <td><a href="#VisibilityMixin.__init__">VisibilityMixin</a></td>
247 <td>Method to initialize the visibility.</td>
248 </tr>
249 </table>
250 <a NAME="VisibilityMixin.__init__" ID="VisibilityMixin.__init__"></a>
251 <h4>VisibilityMixin (Constructor)</h4>
252 <b>VisibilityMixin</b>(<i></i>)
253 <p>
254 Method to initialize the visibility.
255 </p>
256 <div align="right"><a href="#top">Up</a></div>
257 <hr /><hr />
258 <a NAME="readmodule_ex" ID="readmodule_ex"></a>
259 <h2>readmodule_ex</h2>
260 <b>readmodule_ex</b>(<i>module, path=[]</i>)
261 <p>
262 Read a CORBA IDL file and return a dictionary of classes, functions and modules.
263 </p><dl>
264 <dt><i>module</i></dt>
265 <dd>
266 name of the CORBA IDL file (string)
267 </dd><dt><i>path</i></dt>
268 <dd>
269 path the file should be searched in (list of strings)
270 </dd>
271 </dl><dl>
272 <dt>Returns:</dt>
273 <dd>
274 the resulting dictionary
275 </dd>
276 </dl>
277 <div align="right"><a href="#top">Up</a></div>
278 <hr />
279 </body></html>

eric ide

mercurial