eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html

changeset 7651
ca87b7490449
parent 7624
6eabbcf3bdf8
child 7989
a21d673a8f99
diff -r 36c2dc7e3437 -r ca87b7490449 eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html	Mon Jul 27 19:15:26 2020 +0200
+++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html	Wed Jul 29 17:37:09 2020 +0200
@@ -85,6 +85,10 @@
 <td>Private method to run all enabled checks for a given check type.</td>
 </tr>
 <tr>
+<td><a href="#SecurityNodeVisitor.__visitFunctionDefinition">__visitFunctionDefinition</a></td>
+<td>Private method defining a visitor for AST FunctionDef and AsyncFunctionDef nodes.</td>
+</tr>
+<tr>
 <td><a href="#SecurityNodeVisitor.generic_visit">generic_visit</a></td>
 <td>Public method to drive the node visitor.</td>
 </tr>
@@ -93,6 +97,10 @@
 <td>Public method to inspected an AST node.</td>
 </tr>
 <tr>
+<td><a href="#SecurityNodeVisitor.visit_AsyncFunctionDef">visit_AsyncFunctionDef</a></td>
+<td>Public method defining a visitor for AST AsyncFunctionDef nodes.</td>
+</tr>
+<tr>
 <td><a href="#SecurityNodeVisitor.visit_Bytes">visit_Bytes</a></td>
 <td>Public method defining a visitor for Bytes nodes.</td>
 </tr>
@@ -207,6 +215,26 @@
 type of checks to be run
 </dd>
 </dl>
+<a NAME="SecurityNodeVisitor.__visitFunctionDefinition" ID="SecurityNodeVisitor.__visitFunctionDefinition"></a>
+<h4>SecurityNodeVisitor.__visitFunctionDefinition</h4>
+<b>__visitFunctionDefinition</b>(<i>node</i>)
+
+<p>
+        Private method defining a visitor for AST FunctionDef and
+        AsyncFunctionDef nodes.
+</p>
+<p>
+        Add relevant information about the node to the context for use in tests
+        which inspect function definitions. Add the function name to the
+        current namespace for all descendants.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.FunctionDef, ast.AsyncFunctionDef)</dt>
+<dd>
+reference to the node being inspected
+</dd>
+</dl>
 <a NAME="SecurityNodeVisitor.generic_visit" ID="SecurityNodeVisitor.generic_visit"></a>
 <h4>SecurityNodeVisitor.generic_visit</h4>
 <b>generic_visit</b>(<i>node</i>)
@@ -235,6 +263,20 @@
 AST node to be inspected
 </dd>
 </dl>
+<a NAME="SecurityNodeVisitor.visit_AsyncFunctionDef" ID="SecurityNodeVisitor.visit_AsyncFunctionDef"></a>
+<h4>SecurityNodeVisitor.visit_AsyncFunctionDef</h4>
+<b>visit_AsyncFunctionDef</b>(<i>node</i>)
+
+<p>
+        Public method defining a visitor for AST AsyncFunctionDef nodes.
+</p>
+<dl>
+
+<dt><i>node</i> (ast.AsyncFunctionDef)</dt>
+<dd>
+reference to the node being inspected
+</dd>
+</dl>
 <a NAME="SecurityNodeVisitor.visit_Bytes" ID="SecurityNodeVisitor.visit_Bytes"></a>
 <h4>SecurityNodeVisitor.visit_Bytes</h4>
 <b>visit_Bytes</b>(<i>node</i>)
@@ -313,11 +355,6 @@
 <p>
         Public method defining a visitor for AST FunctionDef nodes.
 </p>
-<p>
-        Add relevant information about the node to the context for use in tests
-        which inspect function definitions. Add the function name to the
-        current namespace for all descendants.
-</p>
 <dl>
 
 <dt><i>node</i> (ast.FunctionDef)</dt>

eric ide

mercurial