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