|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Async.AsyncVisitor</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Async.AsyncVisitor</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a node visitor to check async functions for use of synchronous |
|
13 functions. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 |
|
22 <table> |
|
23 |
|
24 <tr> |
|
25 <td><a href="#AsyncVisitor">AsyncVisitor</a></td> |
|
26 <td>Class implementing a node visitor for checking async functions for use of synchronous functions.</td> |
|
27 </tr> |
|
28 </table> |
|
29 <h3>Functions</h3> |
|
30 |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <hr /> |
|
35 <hr /> |
|
36 <a NAME="AsyncVisitor" ID="AsyncVisitor"></a> |
|
37 <h2>AsyncVisitor</h2> |
|
38 |
|
39 <p> |
|
40 Class implementing a node visitor for checking async functions for use of |
|
41 synchronous functions. |
|
42 </p> |
|
43 <h3>Derived from</h3> |
|
44 ast.NodeVisitor |
|
45 <h3>Class Attributes</h3> |
|
46 |
|
47 <table> |
|
48 <tr><td>HttpMethods</td></tr><tr><td>HttpPackages</td></tr><tr><td>OsPathFuncs</td></tr><tr><td>OsProcessMethods</td></tr><tr><td>OsWaitMethods</td></tr><tr><td>SubprocessMethods</td></tr><tr><td>Urllib3DangerousClasses</td></tr> |
|
49 </table> |
|
50 <h3>Class Methods</h3> |
|
51 |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Methods</h3> |
|
56 |
|
57 <table> |
|
58 |
|
59 <tr> |
|
60 <td><a href="#AsyncVisitor.__init__">AsyncVisitor</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr> |
|
63 <tr> |
|
64 <td><a href="#AsyncVisitor.visit_AsyncFunctionDef">visit_AsyncFunctionDef</a></td> |
|
65 <td>Public method to handle an async function definition.</td> |
|
66 </tr> |
|
67 </table> |
|
68 <h3>Static Methods</h3> |
|
69 |
|
70 <table> |
|
71 <tr><td>None</td></tr> |
|
72 </table> |
|
73 |
|
74 <a NAME="AsyncVisitor.__init__" ID="AsyncVisitor.__init__"></a> |
|
75 <h4>AsyncVisitor (Constructor)</h4> |
|
76 <b>AsyncVisitor</b>(<i>args, checker</i>) |
|
77 |
|
78 <p> |
|
79 Constructor |
|
80 </p> |
|
81 <dl> |
|
82 |
|
83 <dt><i>args</i> (dict)</dt> |
|
84 <dd> |
|
85 dictionary containing the checker arguments |
|
86 </dd> |
|
87 <dt><i>checker</i> (ImportsChecker)</dt> |
|
88 <dd> |
|
89 reference to the checker |
|
90 </dd> |
|
91 </dl> |
|
92 <a NAME="AsyncVisitor.visit_AsyncFunctionDef" ID="AsyncVisitor.visit_AsyncFunctionDef"></a> |
|
93 <h4>AsyncVisitor.visit_AsyncFunctionDef</h4> |
|
94 <b>visit_AsyncFunctionDef</b>(<i>node</i>) |
|
95 |
|
96 <p> |
|
97 Public method to handle an async function definition. |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>node</i> (ast.AsyncFunctionDef)</dt> |
|
102 <dd> |
|
103 reference to the node to be processed |
|
104 </dd> |
|
105 </dl> |
|
106 <div align="right"><a href="#top">Up</a></div> |
|
107 <hr /> |
|
108 </body></html> |