diff -r 8ca3f08c5ac8 -r 4a619fb7bd09 src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Async.AsyncVisitor.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Async.AsyncVisitor.html Mon Jul 17 17:37:38 2023 +0200 @@ -0,0 +1,108 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Async.AsyncVisitor</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Async.AsyncVisitor</h1> + +<p> +Module implementing a node visitor to check async functions for use of synchronous +functions. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#AsyncVisitor">AsyncVisitor</a></td> +<td>Class implementing a node visitor for checking async functions for use of synchronous functions.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="AsyncVisitor" ID="AsyncVisitor"></a> +<h2>AsyncVisitor</h2> + +<p> + Class implementing a node visitor for checking async functions for use of + synchronous functions. +</p> +<h3>Derived from</h3> +ast.NodeVisitor +<h3>Class Attributes</h3> + +<table> +<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> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#AsyncVisitor.__init__">AsyncVisitor</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#AsyncVisitor.visit_AsyncFunctionDef">visit_AsyncFunctionDef</a></td> +<td>Public method to handle an async function definition.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="AsyncVisitor.__init__" ID="AsyncVisitor.__init__"></a> +<h4>AsyncVisitor (Constructor)</h4> +<b>AsyncVisitor</b>(<i>args, checker</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>args</i> (dict)</dt> +<dd> +dictionary containing the checker arguments +</dd> +<dt><i>checker</i> (ImportsChecker)</dt> +<dd> +reference to the checker +</dd> +</dl> +<a NAME="AsyncVisitor.visit_AsyncFunctionDef" ID="AsyncVisitor.visit_AsyncFunctionDef"></a> +<h4>AsyncVisitor.visit_AsyncFunctionDef</h4> +<b>visit_AsyncFunctionDef</b>(<i>node</i>) + +<p> + Public method to handle an async function definition. +</p> +<dl> + +<dt><i>node</i> (ast.AsyncFunctionDef)</dt> +<dd> +reference to the node to be processed +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file