diff -r 1c765dc90c21 -r f6db89b067e7 eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Annotations.AnnotationsChecker.html --- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Annotations.AnnotationsChecker.html Sat Apr 03 16:02:33 2021 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Annotations.AnnotationsChecker.html Sat Apr 03 16:54:10 2021 +0200 @@ -101,18 +101,10 @@ <td>Private method to record an issue.</td> </tr> <tr> -<td><a href="#AnnotationsChecker.__generateTree">__generateTree</a></td> -<td>Private method to generate an AST for our source.</td> -</tr> -<tr> <td><a href="#AnnotationsChecker.__ignoreCode">__ignoreCode</a></td> <td>Private method to check if the message code should be ignored.</td> </tr> <tr> -<td><a href="#AnnotationsChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> -<td>Private method to report a syntax error.</td> -</tr> -<tr> <td><a href="#AnnotationsChecker.run">run</a></td> <td>Public method to check the given source against annotation issues.</td> </tr> @@ -125,7 +117,7 @@ <a NAME="AnnotationsChecker.__init__" ID="AnnotationsChecker.__init__"></a> <h4>AnnotationsChecker (Constructor)</h4> -<b>AnnotationsChecker</b>(<i>source, filename, select, ignore, expected, repeat, args</i>) +<b>AnnotationsChecker</b>(<i>source, filename, tree, select, ignore, expected, repeat, args</i>) <p> Constructor @@ -140,6 +132,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,25 +204,6 @@ arguments for the message </dd> </dl> -<a NAME="AnnotationsChecker.__generateTree" ID="AnnotationsChecker.__generateTree"></a> -<h4>AnnotationsChecker.__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.Module -</dd> -</dl> <a NAME="AnnotationsChecker.__ignoreCode" ID="AnnotationsChecker.__ignoreCode"></a> <h4>AnnotationsChecker.__ignoreCode</h4> <b>__ignoreCode</b>(<i>code</i>) @@ -253,13 +230,6 @@ bool </dd> </dl> -<a NAME="AnnotationsChecker.__reportInvalidSyntax" ID="AnnotationsChecker.__reportInvalidSyntax"></a> -<h4>AnnotationsChecker.__reportInvalidSyntax</h4> -<b>__reportInvalidSyntax</b>(<i></i>) - -<p> - Private method to report a syntax error. -</p> <a NAME="AnnotationsChecker.run" ID="AnnotationsChecker.run"></a> <h4>AnnotationsChecker.run</h4> <b>run</b>(<i></i>)