eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html

changeset 8199
f6db89b067e7
parent 8166
bd5cd5858503
child 8215
fc5d68a6889e
diff -r 1c765dc90c21 -r f6db89b067e7 eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html	Sat Apr 03 16:02:33 2021 +0200
+++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.PathLib.PathlibChecker.html	Sat Apr 03 16:54:10 2021 +0200
@@ -200,18 +200,10 @@
 <td>Private method to record an issue.</td>
 </tr>
 <tr>
-<td><a href="#PathlibChecker.__generateTree">__generateTree</a></td>
-<td>Private method to generate an AST for our source.</td>
-</tr>
-<tr>
 <td><a href="#PathlibChecker.__ignoreCode">__ignoreCode</a></td>
 <td>Private method to check if the message code should be ignored.</td>
 </tr>
 <tr>
-<td><a href="#PathlibChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td>
-<td>Private method to report a syntax error.</td>
-</tr>
-<tr>
 <td><a href="#PathlibChecker.run">run</a></td>
 <td>Public method to check the given source against functions to be replaced by 'pathlib' equivalents.</td>
 </tr>
@@ -224,7 +216,7 @@
 
 <a NAME="PathlibChecker.__init__" ID="PathlibChecker.__init__"></a>
 <h4>PathlibChecker (Constructor)</h4>
-<b>PathlibChecker</b>(<i>source, filename, selected, ignored, expected, repeat</i>)
+<b>PathlibChecker</b>(<i>source, filename, tree, selected, ignored, expected, repeat</i>)
 
 <p>
         Constructor
@@ -239,6 +231,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>selected</i> (list of str)</dt>
 <dd>
 list of selected codes
@@ -301,25 +297,6 @@
 arguments for the message
 </dd>
 </dl>
-<a NAME="PathlibChecker.__generateTree" ID="PathlibChecker.__generateTree"></a>
-<h4>PathlibChecker.__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="PathlibChecker.__ignoreCode" ID="PathlibChecker.__ignoreCode"></a>
 <h4>PathlibChecker.__ignoreCode</h4>
 <b>__ignoreCode</b>(<i>code</i>)
@@ -346,13 +323,6 @@
 bool
 </dd>
 </dl>
-<a NAME="PathlibChecker.__reportInvalidSyntax" ID="PathlibChecker.__reportInvalidSyntax"></a>
-<h4>PathlibChecker.__reportInvalidSyntax</h4>
-<b>__reportInvalidSyntax</b>(<i></i>)
-
-<p>
-        Private method to report a syntax error.
-</p>
 <a NAME="PathlibChecker.run" ID="PathlibChecker.run"></a>
 <h4>PathlibChecker.run</h4>
 <b>run</b>(<i></i>)

eric ide

mercurial