diff -r 1c765dc90c21 -r f6db89b067e7 eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html --- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html Sat Apr 03 16:02:33 2021 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html Sat Apr 03 16:54:10 2021 +0200 @@ -73,18 +73,10 @@ <td>Constructor</td> </tr> <tr> -<td><a href="#SecurityChecker.__generateTree">__generateTree</a></td> -<td>Private method to generate an AST for our source.</td> -</tr> -<tr> <td><a href="#SecurityChecker.__ignoreCode">__ignoreCode</a></td> <td>Private method to check if the message code should be ignored.</td> </tr> <tr> -<td><a href="#SecurityChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> -<td>Private method to report a syntax error.</td> -</tr> -<tr> <td><a href="#SecurityChecker.getConfig">getConfig</a></td> <td>Public method to get the configuration dictionary.</td> </tr> @@ -105,7 +97,7 @@ <a NAME="SecurityChecker.__init__" ID="SecurityChecker.__init__"></a> <h4>SecurityChecker (Constructor)</h4> -<b>SecurityChecker</b>(<i>source, filename, select, ignore, expected, repeat, args</i>) +<b>SecurityChecker</b>(<i>source, filename, tree, select, ignore, expected, repeat, args</i>) <p> Constructor @@ -120,6 +112,10 @@ <dd> name of the source file </dd> +<dt><i>tree</i> (ast.Module)</dt> +<dd> +AST tree of the source code +</dd> <dt><i>select</i> (list of str)</dt> <dd> list of selected codes @@ -141,25 +137,6 @@ dictionary of arguments for the security checks </dd> </dl> -<a NAME="SecurityChecker.__generateTree" ID="SecurityChecker.__generateTree"></a> -<h4>SecurityChecker.__generateTree</h4> -<b>__generateTree</b>(<i></i>) - -<p> - Private method to generate an AST for our source. -</p> -<dl> -<dt>Return:</dt> -<dd> -generated AST -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -ast.AST -</dd> -</dl> <a NAME="SecurityChecker.__ignoreCode" ID="SecurityChecker.__ignoreCode"></a> <h4>SecurityChecker.__ignoreCode</h4> <b>__ignoreCode</b>(<i>code</i>) @@ -186,13 +163,6 @@ bool </dd> </dl> -<a NAME="SecurityChecker.__reportInvalidSyntax" ID="SecurityChecker.__reportInvalidSyntax"></a> -<h4>SecurityChecker.__reportInvalidSyntax</h4> -<b>__reportInvalidSyntax</b>(<i></i>) - -<p> - Private method to report a syntax error. -</p> <a NAME="SecurityChecker.getConfig" ID="SecurityChecker.getConfig"></a> <h4>SecurityChecker.getConfig</h4> <b>getConfig</b>(<i></i>)