diff -r 1c765dc90c21 -r f6db89b067e7 eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html --- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html Sat Apr 03 16:02:33 2021 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Miscellaneous.MiscellaneousChecker.html Sat Apr 03 16:54:10 2021 +0200 @@ -770,10 +770,6 @@ <td>Private method to record an issue.</td> </tr> <tr> -<td><a href="#MiscellaneousChecker.__generateTree">__generateTree</a></td> -<td>Private method to generate an AST for our source.</td> -</tr> -<tr> <td><a href="#MiscellaneousChecker.__getCoding">__getCoding</a></td> <td>Private method to get the defined coding of the source.</td> </tr> @@ -786,10 +782,6 @@ <td>Private method to check if the message code should be ignored.</td> </tr> <tr> -<td><a href="#MiscellaneousChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> -<td>Private method to report a syntax error.</td> -</tr> -<tr> <td><a href="#MiscellaneousChecker.run">run</a></td> <td>Public method to check the given source against miscellaneous conditions.</td> </tr> @@ -802,7 +794,7 @@ <a NAME="MiscellaneousChecker.__init__" ID="MiscellaneousChecker.__init__"></a> <h4>MiscellaneousChecker (Constructor)</h4> -<b>MiscellaneousChecker</b>(<i>source, filename, select, ignore, expected, repeat, args</i>) +<b>MiscellaneousChecker</b>(<i>source, filename, tree, select, ignore, expected, repeat, args</i>) <p> Constructor @@ -817,6 +809,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 @@ -1024,25 +1020,6 @@ arguments for the message </dd> </dl> -<a NAME="MiscellaneousChecker.__generateTree" ID="MiscellaneousChecker.__generateTree"></a> -<h4>MiscellaneousChecker.__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="MiscellaneousChecker.__getCoding" ID="MiscellaneousChecker.__getCoding"></a> <h4>MiscellaneousChecker.__getCoding</h4> <b>__getCoding</b>(<i></i>) @@ -1115,13 +1092,6 @@ bool </dd> </dl> -<a NAME="MiscellaneousChecker.__reportInvalidSyntax" ID="MiscellaneousChecker.__reportInvalidSyntax"></a> -<h4>MiscellaneousChecker.__reportInvalidSyntax</h4> -<b>__reportInvalidSyntax</b>(<i></i>) - -<p> - Private method to report a syntax error. -</p> <a NAME="MiscellaneousChecker.run" ID="MiscellaneousChecker.run"></a> <h4>MiscellaneousChecker.run</h4> <b>run</b>(<i></i>)