16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe</h1> |
23 <h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe</h1> |
23 |
24 |
24 <h3>Global Attributes</h3> |
25 <h3>Global Attributes</h3> |
|
26 |
25 <table> |
27 <table> |
26 <tr><td>__version__</td></tr> |
28 <tr><td>__version__</td></tr> |
27 </table> |
29 </table> |
28 <h3>Classes</h3> |
30 <h3>Classes</h3> |
29 <table> |
31 |
|
32 <table> |
|
33 |
30 <tr> |
34 <tr> |
31 <td><a href="#ASTVisitor">ASTVisitor</a></td> |
35 <td><a href="#ASTVisitor">ASTVisitor</a></td> |
32 <td>Performs a depth-first walk of the AST.</td> |
36 <td>Performs a depth-first walk of the AST.</td> |
33 </tr><tr> |
37 </tr> |
|
38 <tr> |
34 <td><a href="#PathGraph">PathGraph</a></td> |
39 <td><a href="#PathGraph">PathGraph</a></td> |
35 <td></td> |
40 <td></td> |
36 </tr><tr> |
41 </tr> |
|
42 <tr> |
37 <td><a href="#PathGraphingAstVisitor">PathGraphingAstVisitor</a></td> |
43 <td><a href="#PathGraphingAstVisitor">PathGraphingAstVisitor</a></td> |
38 <td>A visitor for a parsed Abstract Syntax Tree which finds executable statements.</td> |
44 <td>A visitor for a parsed Abstract Syntax Tree which finds executable statements.</td> |
39 </tr><tr> |
45 </tr> |
|
46 <tr> |
40 <td><a href="#PathNode">PathNode</a></td> |
47 <td><a href="#PathNode">PathNode</a></td> |
41 <td></td> |
48 <td></td> |
42 </tr> |
49 </tr> |
43 </table> |
50 </table> |
44 <h3>Functions</h3> |
51 <h3>Functions</h3> |
45 <table> |
52 |
46 <tr><td>None</td></tr> |
53 <table> |
47 </table> |
54 <tr><td>None</td></tr> |
48 <hr /><hr /> |
55 </table> |
|
56 <hr /> |
|
57 <hr /> |
49 <a NAME="ASTVisitor" ID="ASTVisitor"></a> |
58 <a NAME="ASTVisitor" ID="ASTVisitor"></a> |
50 <h2>ASTVisitor</h2> |
59 <h2>ASTVisitor</h2> |
|
60 |
51 <p> |
61 <p> |
52 Performs a depth-first walk of the AST. |
62 Performs a depth-first walk of the AST. |
53 </p> |
63 </p> |
54 <h3>Derived from</h3> |
64 <h3>Derived from</h3> |
55 object |
65 object |
56 <h3>Class Attributes</h3> |
66 <h3>Class Attributes</h3> |
|
67 |
57 <table> |
68 <table> |
58 <tr><td>None</td></tr> |
69 <tr><td>None</td></tr> |
59 </table> |
70 </table> |
60 <h3>Class Methods</h3> |
71 <h3>Class Methods</h3> |
|
72 |
61 <table> |
73 <table> |
62 <tr><td>None</td></tr> |
74 <tr><td>None</td></tr> |
63 </table> |
75 </table> |
64 <h3>Methods</h3> |
76 <h3>Methods</h3> |
65 <table> |
77 |
|
78 <table> |
|
79 |
66 <tr> |
80 <tr> |
67 <td><a href="#ASTVisitor.__init__">ASTVisitor</a></td> |
81 <td><a href="#ASTVisitor.__init__">ASTVisitor</a></td> |
68 <td></td> |
82 <td></td> |
69 </tr><tr> |
83 </tr> |
|
84 <tr> |
70 <td><a href="#ASTVisitor.default">default</a></td> |
85 <td><a href="#ASTVisitor.default">default</a></td> |
71 <td></td> |
86 <td></td> |
72 </tr><tr> |
87 </tr> |
|
88 <tr> |
73 <td><a href="#ASTVisitor.dispatch">dispatch</a></td> |
89 <td><a href="#ASTVisitor.dispatch">dispatch</a></td> |
74 <td></td> |
90 <td></td> |
75 </tr><tr> |
91 </tr> |
|
92 <tr> |
76 <td><a href="#ASTVisitor.preorder">preorder</a></td> |
93 <td><a href="#ASTVisitor.preorder">preorder</a></td> |
77 <td>Do preorder walk of tree using visitor</td> |
94 <td>Do preorder walk of tree using visitor</td> |
78 </tr> |
95 </tr> |
79 </table> |
96 </table> |
80 <h3>Static Methods</h3> |
97 <h3>Static Methods</h3> |
81 <table> |
98 |
82 <tr><td>None</td></tr> |
99 <table> |
83 </table> |
100 <tr><td>None</td></tr> |
|
101 </table> |
|
102 |
84 <a NAME="ASTVisitor.__init__" ID="ASTVisitor.__init__"></a> |
103 <a NAME="ASTVisitor.__init__" ID="ASTVisitor.__init__"></a> |
85 <h4>ASTVisitor (Constructor)</h4> |
104 <h4>ASTVisitor (Constructor)</h4> |
86 <b>ASTVisitor</b>(<i></i>) |
105 <b>ASTVisitor</b>(<i></i>) |
|
106 |
87 <a NAME="ASTVisitor.default" ID="ASTVisitor.default"></a> |
107 <a NAME="ASTVisitor.default" ID="ASTVisitor.default"></a> |
88 <h4>ASTVisitor.default</h4> |
108 <h4>ASTVisitor.default</h4> |
89 <b>default</b>(<i>node, *args</i>) |
109 <b>default</b>(<i>node, *args</i>) |
|
110 |
90 <a NAME="ASTVisitor.dispatch" ID="ASTVisitor.dispatch"></a> |
111 <a NAME="ASTVisitor.dispatch" ID="ASTVisitor.dispatch"></a> |
91 <h4>ASTVisitor.dispatch</h4> |
112 <h4>ASTVisitor.dispatch</h4> |
92 <b>dispatch</b>(<i>node, *args</i>) |
113 <b>dispatch</b>(<i>node, *args</i>) |
|
114 |
93 <a NAME="ASTVisitor.preorder" ID="ASTVisitor.preorder"></a> |
115 <a NAME="ASTVisitor.preorder" ID="ASTVisitor.preorder"></a> |
94 <h4>ASTVisitor.preorder</h4> |
116 <h4>ASTVisitor.preorder</h4> |
95 <b>preorder</b>(<i>tree, visitor, *args</i>) |
117 <b>preorder</b>(<i>tree, visitor, *args</i>) |
|
118 |
96 <p> |
119 <p> |
97 Do preorder walk of tree using visitor |
120 Do preorder walk of tree using visitor |
98 </p> |
121 </p> |
99 <div align="right"><a href="#top">Up</a></div> |
122 <div align="right"><a href="#top">Up</a></div> |
100 <hr /><hr /> |
123 <hr /> |
|
124 <hr /> |
101 <a NAME="PathGraph" ID="PathGraph"></a> |
125 <a NAME="PathGraph" ID="PathGraph"></a> |
102 <h2>PathGraph</h2> |
126 <h2>PathGraph</h2> |
103 |
127 |
104 <h3>Derived from</h3> |
128 <h3>Derived from</h3> |
105 object |
129 object |
106 <h3>Class Attributes</h3> |
130 <h3>Class Attributes</h3> |
|
131 |
107 <table> |
132 <table> |
108 <tr><td>None</td></tr> |
133 <tr><td>None</td></tr> |
109 </table> |
134 </table> |
110 <h3>Class Methods</h3> |
135 <h3>Class Methods</h3> |
|
136 |
111 <table> |
137 <table> |
112 <tr><td>None</td></tr> |
138 <tr><td>None</td></tr> |
113 </table> |
139 </table> |
114 <h3>Methods</h3> |
140 <h3>Methods</h3> |
115 <table> |
141 |
|
142 <table> |
|
143 |
116 <tr> |
144 <tr> |
117 <td><a href="#PathGraph.__init__">PathGraph</a></td> |
145 <td><a href="#PathGraph.__init__">PathGraph</a></td> |
118 <td></td> |
146 <td></td> |
119 </tr><tr> |
147 </tr> |
|
148 <tr> |
120 <td><a href="#PathGraph.complexity">complexity</a></td> |
149 <td><a href="#PathGraph.complexity">complexity</a></td> |
121 <td>Return the McCabe complexity for the graph.</td> |
150 <td>Return the McCabe complexity for the graph.</td> |
122 </tr><tr> |
151 </tr> |
|
152 <tr> |
123 <td><a href="#PathGraph.connect">connect</a></td> |
153 <td><a href="#PathGraph.connect">connect</a></td> |
124 <td></td> |
154 <td></td> |
125 </tr><tr> |
155 </tr> |
|
156 <tr> |
126 <td><a href="#PathGraph.to_dot">to_dot</a></td> |
157 <td><a href="#PathGraph.to_dot">to_dot</a></td> |
127 <td></td> |
158 <td></td> |
128 </tr> |
159 </tr> |
129 </table> |
160 </table> |
130 <h3>Static Methods</h3> |
161 <h3>Static Methods</h3> |
131 <table> |
162 |
132 <tr><td>None</td></tr> |
163 <table> |
133 </table> |
164 <tr><td>None</td></tr> |
|
165 </table> |
|
166 |
134 <a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> |
167 <a NAME="PathGraph.__init__" ID="PathGraph.__init__"></a> |
135 <h4>PathGraph (Constructor)</h4> |
168 <h4>PathGraph (Constructor)</h4> |
136 <b>PathGraph</b>(<i>name, entity, lineno, column=0</i>) |
169 <b>PathGraph</b>(<i>name, entity, lineno, column=0</i>) |
|
170 |
137 <a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> |
171 <a NAME="PathGraph.complexity" ID="PathGraph.complexity"></a> |
138 <h4>PathGraph.complexity</h4> |
172 <h4>PathGraph.complexity</h4> |
139 <b>complexity</b>(<i></i>) |
173 <b>complexity</b>(<i></i>) |
|
174 |
140 <p> |
175 <p> |
141 Return the McCabe complexity for the graph. |
176 Return the McCabe complexity for the graph. |
142 V-E+2 |
177 V-E+2 |
143 </p><a NAME="PathGraph.connect" ID="PathGraph.connect"></a> |
178 </p> |
|
179 <a NAME="PathGraph.connect" ID="PathGraph.connect"></a> |
144 <h4>PathGraph.connect</h4> |
180 <h4>PathGraph.connect</h4> |
145 <b>connect</b>(<i>n1, n2</i>) |
181 <b>connect</b>(<i>n1, n2</i>) |
|
182 |
146 <a NAME="PathGraph.to_dot" ID="PathGraph.to_dot"></a> |
183 <a NAME="PathGraph.to_dot" ID="PathGraph.to_dot"></a> |
147 <h4>PathGraph.to_dot</h4> |
184 <h4>PathGraph.to_dot</h4> |
148 <b>to_dot</b>(<i></i>) |
185 <b>to_dot</b>(<i></i>) |
149 |
186 |
150 <div align="right"><a href="#top">Up</a></div> |
187 <div align="right"><a href="#top">Up</a></div> |
151 <hr /><hr /> |
188 <hr /> |
|
189 <hr /> |
152 <a NAME="PathGraphingAstVisitor" ID="PathGraphingAstVisitor"></a> |
190 <a NAME="PathGraphingAstVisitor" ID="PathGraphingAstVisitor"></a> |
153 <h2>PathGraphingAstVisitor</h2> |
191 <h2>PathGraphingAstVisitor</h2> |
|
192 |
154 <p> |
193 <p> |
155 A visitor for a parsed Abstract Syntax Tree which finds executable |
194 A visitor for a parsed Abstract Syntax Tree which finds executable |
156 statements. |
195 statements. |
157 </p> |
196 </p> |
158 <h3>Derived from</h3> |
197 <h3>Derived from</h3> |
159 ASTVisitor |
198 ASTVisitor |
160 <h3>Class Attributes</h3> |
199 <h3>Class Attributes</h3> |
|
200 |
161 <table> |
201 <table> |
162 <tr><td>visitAsyncFor</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitTry</td></tr> |
202 <tr><td>visitAsyncFor</td></tr><tr><td>visitAsyncFunctionDef</td></tr><tr><td>visitAsyncWith</td></tr><tr><td>visitTry</td></tr> |
163 </table> |
203 </table> |
164 <h3>Class Methods</h3> |
204 <h3>Class Methods</h3> |
|
205 |
165 <table> |
206 <table> |
166 <tr><td>None</td></tr> |
207 <tr><td>None</td></tr> |
167 </table> |
208 </table> |
168 <h3>Methods</h3> |
209 <h3>Methods</h3> |
169 <table> |
210 |
|
211 <table> |
|
212 |
170 <tr> |
213 <tr> |
171 <td><a href="#PathGraphingAstVisitor.__init__">PathGraphingAstVisitor</a></td> |
214 <td><a href="#PathGraphingAstVisitor.__init__">PathGraphingAstVisitor</a></td> |
172 <td></td> |
215 <td></td> |
173 </tr><tr> |
216 </tr> |
|
217 <tr> |
174 <td><a href="#PathGraphingAstVisitor._subgraph">_subgraph</a></td> |
218 <td><a href="#PathGraphingAstVisitor._subgraph">_subgraph</a></td> |
175 <td>create the subgraphs representing any `if` and `for` statements</td> |
219 <td>create the subgraphs representing any `if` and `for` statements</td> |
176 </tr><tr> |
220 </tr> |
|
221 <tr> |
177 <td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td> |
222 <td><a href="#PathGraphingAstVisitor._subgraph_parse">_subgraph_parse</a></td> |
178 <td>parse the body and any `else` block of `if` and `for` statements</td> |
223 <td>parse the body and any `else` block of `if` and `for` statements</td> |
179 </tr><tr> |
224 </tr> |
|
225 <tr> |
180 <td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td> |
226 <td><a href="#PathGraphingAstVisitor.appendPathNode">appendPathNode</a></td> |
181 <td></td> |
227 <td></td> |
182 </tr><tr> |
228 </tr> |
|
229 <tr> |
183 <td><a href="#PathGraphingAstVisitor.default">default</a></td> |
230 <td><a href="#PathGraphingAstVisitor.default">default</a></td> |
184 <td></td> |
231 <td></td> |
185 </tr><tr> |
232 </tr> |
|
233 <tr> |
186 <td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td> |
234 <td><a href="#PathGraphingAstVisitor.dispatch_list">dispatch_list</a></td> |
187 <td></td> |
235 <td></td> |
188 </tr><tr> |
236 </tr> |
|
237 <tr> |
189 <td><a href="#PathGraphingAstVisitor.reset">reset</a></td> |
238 <td><a href="#PathGraphingAstVisitor.reset">reset</a></td> |
190 <td></td> |
239 <td></td> |
191 </tr><tr> |
240 </tr> |
|
241 <tr> |
192 <td><a href="#PathGraphingAstVisitor.visitClassDef">visitClassDef</a></td> |
242 <td><a href="#PathGraphingAstVisitor.visitClassDef">visitClassDef</a></td> |
193 <td></td> |
243 <td></td> |
194 </tr><tr> |
244 </tr> |
|
245 <tr> |
195 <td><a href="#PathGraphingAstVisitor.visitFunctionDef">visitFunctionDef</a></td> |
246 <td><a href="#PathGraphingAstVisitor.visitFunctionDef">visitFunctionDef</a></td> |
196 <td></td> |
247 <td></td> |
197 </tr><tr> |
248 </tr> |
|
249 <tr> |
198 <td><a href="#PathGraphingAstVisitor.visitIf">visitIf</a></td> |
250 <td><a href="#PathGraphingAstVisitor.visitIf">visitIf</a></td> |
199 <td></td> |
251 <td></td> |
200 </tr><tr> |
252 </tr> |
|
253 <tr> |
201 <td><a href="#PathGraphingAstVisitor.visitLoop">visitLoop</a></td> |
254 <td><a href="#PathGraphingAstVisitor.visitLoop">visitLoop</a></td> |
202 <td></td> |
255 <td></td> |
203 </tr><tr> |
256 </tr> |
|
257 <tr> |
204 <td><a href="#PathGraphingAstVisitor.visitSimpleStatement">visitSimpleStatement</a></td> |
258 <td><a href="#PathGraphingAstVisitor.visitSimpleStatement">visitSimpleStatement</a></td> |
205 <td></td> |
259 <td></td> |
206 </tr><tr> |
260 </tr> |
|
261 <tr> |
207 <td><a href="#PathGraphingAstVisitor.visitTryExcept">visitTryExcept</a></td> |
262 <td><a href="#PathGraphingAstVisitor.visitTryExcept">visitTryExcept</a></td> |
208 <td></td> |
263 <td></td> |
209 </tr><tr> |
264 </tr> |
|
265 <tr> |
210 <td><a href="#PathGraphingAstVisitor.visitWith">visitWith</a></td> |
266 <td><a href="#PathGraphingAstVisitor.visitWith">visitWith</a></td> |
211 <td></td> |
267 <td></td> |
212 </tr> |
268 </tr> |
213 </table> |
269 </table> |
214 <h3>Static Methods</h3> |
270 <h3>Static Methods</h3> |
215 <table> |
271 |
216 <tr><td>None</td></tr> |
272 <table> |
217 </table> |
273 <tr><td>None</td></tr> |
|
274 </table> |
|
275 |
218 <a NAME="PathGraphingAstVisitor.__init__" ID="PathGraphingAstVisitor.__init__"></a> |
276 <a NAME="PathGraphingAstVisitor.__init__" ID="PathGraphingAstVisitor.__init__"></a> |
219 <h4>PathGraphingAstVisitor (Constructor)</h4> |
277 <h4>PathGraphingAstVisitor (Constructor)</h4> |
220 <b>PathGraphingAstVisitor</b>(<i></i>) |
278 <b>PathGraphingAstVisitor</b>(<i></i>) |
|
279 |
221 <a NAME="PathGraphingAstVisitor._subgraph" ID="PathGraphingAstVisitor._subgraph"></a> |
280 <a NAME="PathGraphingAstVisitor._subgraph" ID="PathGraphingAstVisitor._subgraph"></a> |
222 <h4>PathGraphingAstVisitor._subgraph</h4> |
281 <h4>PathGraphingAstVisitor._subgraph</h4> |
223 <b>_subgraph</b>(<i>node, name, extra_blocks=()</i>) |
282 <b>_subgraph</b>(<i>node, name, extra_blocks=()</i>) |
|
283 |
224 <p> |
284 <p> |
225 create the subgraphs representing any `if` and `for` statements |
285 create the subgraphs representing any `if` and `for` statements |
226 </p><a NAME="PathGraphingAstVisitor._subgraph_parse" ID="PathGraphingAstVisitor._subgraph_parse"></a> |
286 </p> |
|
287 <a NAME="PathGraphingAstVisitor._subgraph_parse" ID="PathGraphingAstVisitor._subgraph_parse"></a> |
227 <h4>PathGraphingAstVisitor._subgraph_parse</h4> |
288 <h4>PathGraphingAstVisitor._subgraph_parse</h4> |
228 <b>_subgraph_parse</b>(<i>node, pathnode, extra_blocks</i>) |
289 <b>_subgraph_parse</b>(<i>node, pathnode, extra_blocks</i>) |
|
290 |
229 <p> |
291 <p> |
230 parse the body and any `else` block of `if` and `for` statements |
292 parse the body and any `else` block of `if` and `for` statements |
231 </p><a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> |
293 </p> |
|
294 <a NAME="PathGraphingAstVisitor.appendPathNode" ID="PathGraphingAstVisitor.appendPathNode"></a> |
232 <h4>PathGraphingAstVisitor.appendPathNode</h4> |
295 <h4>PathGraphingAstVisitor.appendPathNode</h4> |
233 <b>appendPathNode</b>(<i>name</i>) |
296 <b>appendPathNode</b>(<i>name</i>) |
|
297 |
234 <a NAME="PathGraphingAstVisitor.default" ID="PathGraphingAstVisitor.default"></a> |
298 <a NAME="PathGraphingAstVisitor.default" ID="PathGraphingAstVisitor.default"></a> |
235 <h4>PathGraphingAstVisitor.default</h4> |
299 <h4>PathGraphingAstVisitor.default</h4> |
236 <b>default</b>(<i>node, *args</i>) |
300 <b>default</b>(<i>node, *args</i>) |
|
301 |
237 <a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a> |
302 <a NAME="PathGraphingAstVisitor.dispatch_list" ID="PathGraphingAstVisitor.dispatch_list"></a> |
238 <h4>PathGraphingAstVisitor.dispatch_list</h4> |
303 <h4>PathGraphingAstVisitor.dispatch_list</h4> |
239 <b>dispatch_list</b>(<i>node_list</i>) |
304 <b>dispatch_list</b>(<i>node_list</i>) |
|
305 |
240 <a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a> |
306 <a NAME="PathGraphingAstVisitor.reset" ID="PathGraphingAstVisitor.reset"></a> |
241 <h4>PathGraphingAstVisitor.reset</h4> |
307 <h4>PathGraphingAstVisitor.reset</h4> |
242 <b>reset</b>(<i></i>) |
308 <b>reset</b>(<i></i>) |
|
309 |
243 <a NAME="PathGraphingAstVisitor.visitClassDef" ID="PathGraphingAstVisitor.visitClassDef"></a> |
310 <a NAME="PathGraphingAstVisitor.visitClassDef" ID="PathGraphingAstVisitor.visitClassDef"></a> |
244 <h4>PathGraphingAstVisitor.visitClassDef</h4> |
311 <h4>PathGraphingAstVisitor.visitClassDef</h4> |
245 <b>visitClassDef</b>(<i>node</i>) |
312 <b>visitClassDef</b>(<i>node</i>) |
|
313 |
246 <a NAME="PathGraphingAstVisitor.visitFunctionDef" ID="PathGraphingAstVisitor.visitFunctionDef"></a> |
314 <a NAME="PathGraphingAstVisitor.visitFunctionDef" ID="PathGraphingAstVisitor.visitFunctionDef"></a> |
247 <h4>PathGraphingAstVisitor.visitFunctionDef</h4> |
315 <h4>PathGraphingAstVisitor.visitFunctionDef</h4> |
248 <b>visitFunctionDef</b>(<i>node</i>) |
316 <b>visitFunctionDef</b>(<i>node</i>) |
|
317 |
249 <a NAME="PathGraphingAstVisitor.visitIf" ID="PathGraphingAstVisitor.visitIf"></a> |
318 <a NAME="PathGraphingAstVisitor.visitIf" ID="PathGraphingAstVisitor.visitIf"></a> |
250 <h4>PathGraphingAstVisitor.visitIf</h4> |
319 <h4>PathGraphingAstVisitor.visitIf</h4> |
251 <b>visitIf</b>(<i>node</i>) |
320 <b>visitIf</b>(<i>node</i>) |
|
321 |
252 <a NAME="PathGraphingAstVisitor.visitLoop" ID="PathGraphingAstVisitor.visitLoop"></a> |
322 <a NAME="PathGraphingAstVisitor.visitLoop" ID="PathGraphingAstVisitor.visitLoop"></a> |
253 <h4>PathGraphingAstVisitor.visitLoop</h4> |
323 <h4>PathGraphingAstVisitor.visitLoop</h4> |
254 <b>visitLoop</b>(<i>node</i>) |
324 <b>visitLoop</b>(<i>node</i>) |
|
325 |
255 <a NAME="PathGraphingAstVisitor.visitSimpleStatement" ID="PathGraphingAstVisitor.visitSimpleStatement"></a> |
326 <a NAME="PathGraphingAstVisitor.visitSimpleStatement" ID="PathGraphingAstVisitor.visitSimpleStatement"></a> |
256 <h4>PathGraphingAstVisitor.visitSimpleStatement</h4> |
327 <h4>PathGraphingAstVisitor.visitSimpleStatement</h4> |
257 <b>visitSimpleStatement</b>(<i>node</i>) |
328 <b>visitSimpleStatement</b>(<i>node</i>) |
|
329 |
258 <a NAME="PathGraphingAstVisitor.visitTryExcept" ID="PathGraphingAstVisitor.visitTryExcept"></a> |
330 <a NAME="PathGraphingAstVisitor.visitTryExcept" ID="PathGraphingAstVisitor.visitTryExcept"></a> |
259 <h4>PathGraphingAstVisitor.visitTryExcept</h4> |
331 <h4>PathGraphingAstVisitor.visitTryExcept</h4> |
260 <b>visitTryExcept</b>(<i>node</i>) |
332 <b>visitTryExcept</b>(<i>node</i>) |
|
333 |
261 <a NAME="PathGraphingAstVisitor.visitWith" ID="PathGraphingAstVisitor.visitWith"></a> |
334 <a NAME="PathGraphingAstVisitor.visitWith" ID="PathGraphingAstVisitor.visitWith"></a> |
262 <h4>PathGraphingAstVisitor.visitWith</h4> |
335 <h4>PathGraphingAstVisitor.visitWith</h4> |
263 <b>visitWith</b>(<i>node</i>) |
336 <b>visitWith</b>(<i>node</i>) |
264 |
337 |
265 <div align="right"><a href="#top">Up</a></div> |
338 <div align="right"><a href="#top">Up</a></div> |
266 <hr /><hr /> |
339 <hr /> |
|
340 <hr /> |
267 <a NAME="PathNode" ID="PathNode"></a> |
341 <a NAME="PathNode" ID="PathNode"></a> |
268 <h2>PathNode</h2> |
342 <h2>PathNode</h2> |
269 |
343 |
270 <h3>Derived from</h3> |
344 <h3>Derived from</h3> |
271 object |
345 object |
272 <h3>Class Attributes</h3> |
346 <h3>Class Attributes</h3> |
|
347 |
273 <table> |
348 <table> |
274 <tr><td>None</td></tr> |
349 <tr><td>None</td></tr> |
275 </table> |
350 </table> |
276 <h3>Class Methods</h3> |
351 <h3>Class Methods</h3> |
|
352 |
277 <table> |
353 <table> |
278 <tr><td>None</td></tr> |
354 <tr><td>None</td></tr> |
279 </table> |
355 </table> |
280 <h3>Methods</h3> |
356 <h3>Methods</h3> |
281 <table> |
357 |
|
358 <table> |
|
359 |
282 <tr> |
360 <tr> |
283 <td><a href="#PathNode.__init__">PathNode</a></td> |
361 <td><a href="#PathNode.__init__">PathNode</a></td> |
284 <td></td> |
362 <td></td> |
285 </tr><tr> |
363 </tr> |
|
364 <tr> |
286 <td><a href="#PathNode.dot_id">dot_id</a></td> |
365 <td><a href="#PathNode.dot_id">dot_id</a></td> |
287 <td></td> |
366 <td></td> |
288 </tr><tr> |
367 </tr> |
|
368 <tr> |
289 <td><a href="#PathNode.to_dot">to_dot</a></td> |
369 <td><a href="#PathNode.to_dot">to_dot</a></td> |
290 <td></td> |
370 <td></td> |
291 </tr> |
371 </tr> |
292 </table> |
372 </table> |
293 <h3>Static Methods</h3> |
373 <h3>Static Methods</h3> |
294 <table> |
374 |
295 <tr><td>None</td></tr> |
375 <table> |
296 </table> |
376 <tr><td>None</td></tr> |
|
377 </table> |
|
378 |
297 <a NAME="PathNode.__init__" ID="PathNode.__init__"></a> |
379 <a NAME="PathNode.__init__" ID="PathNode.__init__"></a> |
298 <h4>PathNode (Constructor)</h4> |
380 <h4>PathNode (Constructor)</h4> |
299 <b>PathNode</b>(<i>name, look="circle"</i>) |
381 <b>PathNode</b>(<i>name, look="circle"</i>) |
|
382 |
300 <a NAME="PathNode.dot_id" ID="PathNode.dot_id"></a> |
383 <a NAME="PathNode.dot_id" ID="PathNode.dot_id"></a> |
301 <h4>PathNode.dot_id</h4> |
384 <h4>PathNode.dot_id</h4> |
302 <b>dot_id</b>(<i></i>) |
385 <b>dot_id</b>(<i></i>) |
|
386 |
303 <a NAME="PathNode.to_dot" ID="PathNode.to_dot"></a> |
387 <a NAME="PathNode.to_dot" ID="PathNode.to_dot"></a> |
304 <h4>PathNode.to_dot</h4> |
388 <h4>PathNode.to_dot</h4> |
305 <b>to_dot</b>(<i></i>) |
389 <b>to_dot</b>(<i></i>) |
306 |
390 |
307 <div align="right"><a href="#top">Up</a></div> |
391 <div align="right"><a href="#top">Up</a></div> |