--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.html Sat Apr 03 16:02:33 2021 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Complexity.ComplexityChecker.html Sat Apr 03 16:54:10 2021 +0200 @@ -93,10 +93,6 @@ <td>Private method to check if the message code should be ignored.</td> </tr> <tr> -<td><a href="#ComplexityChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> -<td>Private method to report a syntax error.</td> -</tr> -<tr> <td><a href="#ComplexityChecker.run">run</a></td> <td>Public method to check the given source for code complexity.</td> </tr> @@ -109,7 +105,7 @@ <a NAME="ComplexityChecker.__init__" ID="ComplexityChecker.__init__"></a> <h4>ComplexityChecker (Constructor)</h4> -<b>ComplexityChecker</b>(<i>source, filename, select, ignore, args</i>) +<b>ComplexityChecker</b>(<i>source, filename, tree, select, ignore, args</i>) <p> Constructor @@ -124,6 +120,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 @@ -208,13 +208,6 @@ bool </dd> </dl> -<a NAME="ComplexityChecker.__reportInvalidSyntax" ID="ComplexityChecker.__reportInvalidSyntax"></a> -<h4>ComplexityChecker.__reportInvalidSyntax</h4> -<b>__reportInvalidSyntax</b>(<i></i>) - -<p> - Private method to report a syntax error. -</p> <a NAME="ComplexityChecker.run" ID="ComplexityChecker.run"></a> <h4>ComplexityChecker.run</h4> <b>run</b>(<i></i>)