5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.NameOrder.ImportNode</h1> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.NameOrder.ImportNode</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a class representing an import or import from node. |
11 Module implementing a class representing an import or import from node. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#ImportNode">ImportNode</a></td> |
22 <td><a href="#ImportNode">ImportNode</a></td> |
25 <td>Class representing an import or import from node.</td> |
23 <td>Class representing an import or import from node.</td> |
26 </tr> |
24 </tr> |
27 <tr> |
25 <tr> |
28 <td><a href="#ImportNodeError">ImportNodeError</a></td> |
26 <td><a href="#ImportNodeError">ImportNodeError</a></td> |
29 <td>Class representing an exception for an invalid import node.</td> |
27 <td>Class representing an exception for an invalid import node.</td> |
30 </tr> |
28 </tr> |
31 </table> |
29 </table> |
|
30 |
32 <h3>Functions</h3> |
31 <h3>Functions</h3> |
33 |
32 <table> |
34 <table> |
33 <tr><td>None</td></tr> |
35 <tr><td>None</td></tr> |
34 </table> |
36 </table> |
35 |
37 <hr /> |
36 <hr /> |
38 <hr /> |
37 <hr /> |
39 <a NAME="ImportNode" ID="ImportNode"></a> |
38 <a NAME="ImportNode" ID="ImportNode"></a> |
40 <h2>ImportNode</h2> |
39 <h2>ImportNode</h2> |
41 |
|
42 <p> |
40 <p> |
43 Class representing an import or import from node. |
41 Class representing an import or import from node. |
44 </p> |
42 </p> |
|
43 |
45 <h3>Derived from</h3> |
44 <h3>Derived from</h3> |
46 None |
45 None |
47 <h3>Class Attributes</h3> |
46 <h3>Class Attributes</h3> |
48 |
47 <table> |
49 <table> |
48 <tr><td>None</td></tr> |
50 <tr><td>None</td></tr> |
49 </table> |
51 </table> |
50 |
52 <h3>Class Methods</h3> |
51 <h3>Class Methods</h3> |
53 |
52 <table> |
54 <table> |
53 <tr><td>None</td></tr> |
55 <tr><td>None</td></tr> |
54 </table> |
56 </table> |
55 |
57 <h3>Methods</h3> |
56 <h3>Methods</h3> |
58 |
57 <table> |
59 <table> |
|
60 |
|
61 <tr> |
58 <tr> |
62 <td><a href="#ImportNode.__init__">ImportNode</a></td> |
59 <td><a href="#ImportNode.__init__">ImportNode</a></td> |
63 <td>Constructor</td> |
60 <td>Constructor</td> |
64 </tr> |
61 </tr> |
65 <tr> |
62 <tr> |
73 <tr> |
70 <tr> |
74 <td><a href="#ImportNode.__str__">__str__</a></td> |
71 <td><a href="#ImportNode.__str__">__str__</a></td> |
75 <td>Special method to create a string representation of the instance.</td> |
72 <td>Special method to create a string representation of the instance.</td> |
76 </tr> |
73 </tr> |
77 </table> |
74 </table> |
|
75 |
78 <h3>Static Methods</h3> |
76 <h3>Static Methods</h3> |
79 |
77 <table> |
80 <table> |
78 <tr><td>None</td></tr> |
81 <tr><td>None</td></tr> |
79 </table> |
82 </table> |
80 |
83 |
81 |
84 <a NAME="ImportNode.__init__" ID="ImportNode.__init__"></a> |
82 <a NAME="ImportNode.__init__" ID="ImportNode.__init__"></a> |
85 <h4>ImportNode (Constructor)</h4> |
83 <h4>ImportNode (Constructor)</h4> |
86 <b>ImportNode</b>(<i>appNames, astNode, checker, sortIgnoringStyle, sortFromFirst</i>) |
84 <b>ImportNode</b>(<i>appNames, astNode, checker, sortIgnoringStyle, sortFromFirst</i>) |
87 |
|
88 <p> |
85 <p> |
89 Constructor |
86 Constructor |
90 </p> |
87 </p> |
|
88 |
91 <dl> |
89 <dl> |
92 |
90 |
93 <dt><i>appNames</i> (list of str)</dt> |
91 <dt><i>appNames</i> (list of str)</dt> |
94 <dd> |
92 <dd> |
95 list of application package names |
93 list of application package names |
120 </dd> |
118 </dd> |
121 </dl> |
119 </dl> |
122 <a NAME="ImportNode.__eq__" ID="ImportNode.__eq__"></a> |
120 <a NAME="ImportNode.__eq__" ID="ImportNode.__eq__"></a> |
123 <h4>ImportNode.__eq__</h4> |
121 <h4>ImportNode.__eq__</h4> |
124 <b>__eq__</b>(<i>other</i>) |
122 <b>__eq__</b>(<i>other</i>) |
125 |
|
126 <p> |
123 <p> |
127 Special method implementing the equality operator. |
124 Special method implementing the equality operator. |
128 </p> |
125 </p> |
|
126 |
129 <dl> |
127 <dl> |
130 |
128 |
131 <dt><i>other</i> (ImportNode)</dt> |
129 <dt><i>other</i> (ImportNode)</dt> |
132 <dd> |
130 <dd> |
133 reference to the object to compare |
131 reference to the object to compare |
146 </dd> |
144 </dd> |
147 </dl> |
145 </dl> |
148 <a NAME="ImportNode.__lt__" ID="ImportNode.__lt__"></a> |
146 <a NAME="ImportNode.__lt__" ID="ImportNode.__lt__"></a> |
149 <h4>ImportNode.__lt__</h4> |
147 <h4>ImportNode.__lt__</h4> |
150 <b>__lt__</b>(<i>other</i>) |
148 <b>__lt__</b>(<i>other</i>) |
151 |
|
152 <p> |
149 <p> |
153 Special method implementing the less than operator. |
150 Special method implementing the less than operator. |
154 </p> |
151 </p> |
|
152 |
155 <dl> |
153 <dl> |
156 |
154 |
157 <dt><i>other</i> (ImportNode)</dt> |
155 <dt><i>other</i> (ImportNode)</dt> |
158 <dd> |
156 <dd> |
159 reference to the object to compare |
157 reference to the object to compare |
172 </dd> |
170 </dd> |
173 </dl> |
171 </dl> |
174 <a NAME="ImportNode.__str__" ID="ImportNode.__str__"></a> |
172 <a NAME="ImportNode.__str__" ID="ImportNode.__str__"></a> |
175 <h4>ImportNode.__str__</h4> |
173 <h4>ImportNode.__str__</h4> |
176 <b>__str__</b>(<i></i>) |
174 <b>__str__</b>(<i></i>) |
177 |
|
178 <p> |
175 <p> |
179 Special method to create a string representation of the instance. |
176 Special method to create a string representation of the instance. |
180 </p> |
177 </p> |
|
178 |
181 <dl> |
179 <dl> |
182 <dt>Return:</dt> |
180 <dt>Return:</dt> |
183 <dd> |
181 <dd> |
184 string representation of the instance |
182 string representation of the instance |
185 </dd> |
183 </dd> |
201 <div align="right"><a href="#top">Up</a></div> |
199 <div align="right"><a href="#top">Up</a></div> |
202 <hr /> |
200 <hr /> |
203 <hr /> |
201 <hr /> |
204 <a NAME="ImportNodeError" ID="ImportNodeError"></a> |
202 <a NAME="ImportNodeError" ID="ImportNodeError"></a> |
205 <h2>ImportNodeError</h2> |
203 <h2>ImportNodeError</h2> |
206 |
|
207 <p> |
204 <p> |
208 Class representing an exception for an invalid import node. |
205 Class representing an exception for an invalid import node. |
209 </p> |
206 </p> |
|
207 |
210 <h3>Derived from</h3> |
208 <h3>Derived from</h3> |
211 Exception |
209 Exception |
212 <h3>Class Attributes</h3> |
210 <h3>Class Attributes</h3> |
213 |
211 <table> |
214 <table> |
212 <tr><td>None</td></tr> |
215 <tr><td>None</td></tr> |
213 </table> |
216 </table> |
214 |
217 <h3>Class Methods</h3> |
215 <h3>Class Methods</h3> |
218 |
216 <table> |
219 <table> |
217 <tr><td>None</td></tr> |
220 <tr><td>None</td></tr> |
218 </table> |
221 </table> |
219 |
222 <h3>Methods</h3> |
220 <h3>Methods</h3> |
223 |
221 <table> |
224 <table> |
222 <tr><td>None</td></tr> |
225 <tr><td>None</td></tr> |
223 </table> |
226 </table> |
224 |
227 <h3>Static Methods</h3> |
225 <h3>Static Methods</h3> |
228 |
226 <table> |
229 <table> |
227 <tr><td>None</td></tr> |
230 <tr><td>None</td></tr> |
228 </table> |
231 </table> |
229 |
232 |
230 |
233 <div align="right"><a href="#top">Up</a></div> |
231 <div align="right"><a href="#top">Up</a></div> |
234 <hr /> |
232 <hr /> |
235 </body></html> |
233 </body></html> |