Documentation/Source/eric6.Utilities.ClassBrowsers.pyclbr.html

changeset 4183
856ba07de877
parent 3967
383a043d62ec
child 5606
da305d172769
--- a/Documentation/Source/eric6.Utilities.ClassBrowsers.pyclbr.html	Tue Mar 24 19:40:12 2015 +0100
+++ b/Documentation/Source/eric6.Utilities.ClassBrowsers.pyclbr.html	Wed Mar 25 20:01:08 2015 +0100
@@ -44,6 +44,12 @@
 <td><a href="#Function">Function</a></td>
 <td>Class to represent a Python function.</td>
 </tr><tr>
+<td><a href="#ImportedModule">ImportedModule</a></td>
+<td>Class to represent an imported module.</td>
+</tr><tr>
+<td><a href="#Imports">Imports</a></td>
+<td>Class to represent the list of imported modules.</td>
+</tr><tr>
 <td><a href="#Publics">Publics</a></td>
 <td>Class to represent the list of public identifiers.</td>
 </tr><tr>
@@ -221,6 +227,160 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="ImportedModule" ID="ImportedModule"></a>
+<h2>ImportedModule</h2>
+<p>
+    Class to represent an imported module.
+</p>
+<h3>Derived from</h3>
+object
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#ImportedModule.__init__">ImportedModule</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#ImportedModule.addImport">addImport</a></td>
+<td>Public method to add a list of imported names.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="ImportedModule.__init__" ID="ImportedModule.__init__"></a>
+<h4>ImportedModule (Constructor)</h4>
+<b>ImportedModule</b>(<i>module, file, importedModule</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>module</i></dt>
+<dd>
+name of the module containing the import (string)
+</dd><dt><i>file</i></dt>
+<dd>
+file name containing the import (string)
+</dd><dt><i>importedModule</i></dt>
+<dd>
+name of the imported module (string)
+</dd>
+</dl><a NAME="ImportedModule.addImport" ID="ImportedModule.addImport"></a>
+<h4>ImportedModule.addImport</h4>
+<b>addImport</b>(<i>lineno, importedNames</i>)
+<p>
+        Public method to add a list of imported names.
+</p><dl>
+<dt><i>lineno</i></dt>
+<dd>
+line number of the import
+</dd><dt><i>importedNames</i></dt>
+<dd>
+list of imported names (list of strings)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
+<a NAME="Imports" ID="Imports"></a>
+<h2>Imports</h2>
+<p>
+    Class to represent the list of imported modules.
+</p>
+<h3>Derived from</h3>
+object
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Class Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#Imports.__init__">Imports</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#Imports.addImport">addImport</a></td>
+<td>Public method to add a list of imported names.</td>
+</tr><tr>
+<td><a href="#Imports.getImport">getImport</a></td>
+<td>Public method to get an imported module item.</td>
+</tr><tr>
+<td><a href="#Imports.getImports">getImports</a></td>
+<td>Public method to get all imported module names.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<a NAME="Imports.__init__" ID="Imports.__init__"></a>
+<h4>Imports (Constructor)</h4>
+<b>Imports</b>(<i>module, file</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>module</i></dt>
+<dd>
+name of the module containing the import (string)
+</dd><dt><i>file</i></dt>
+<dd>
+file name containing the import (string)
+</dd>
+</dl><a NAME="Imports.addImport" ID="Imports.addImport"></a>
+<h4>Imports.addImport</h4>
+<b>addImport</b>(<i>moduleName, names, lineno</i>)
+<p>
+        Public method to add a list of imported names.
+</p><dl>
+<dt><i>moduleName</i></dt>
+<dd>
+name of the imported module (string)
+</dd><dt><i>names</i></dt>
+<dd>
+list of names (list of strings)
+</dd><dt><i>lineno</i></dt>
+<dd>
+line number of the import
+</dd>
+</dl><a NAME="Imports.getImport" ID="Imports.getImport"></a>
+<h4>Imports.getImport</h4>
+<b>getImport</b>(<i>moduleName</i>)
+<p>
+        Public method to get an imported module item.
+</p><dl>
+<dt><i>moduleName</i></dt>
+<dd>
+name of the imported module (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+imported module item (ImportedModule) or None
+</dd>
+</dl><a NAME="Imports.getImports" ID="Imports.getImports"></a>
+<h4>Imports.getImports</h4>
+<b>getImports</b>(<i></i>)
+<p>
+        Public method to get all imported module names.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+dictionary of imported module names with name as key and list
+            of line numbers of imports as value
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="Publics" ID="Publics"></a>
 <h2>Publics</h2>
 <p>

eric ide

mercurial