--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html Thu Jul 20 10:36:23 2023 +0200 +++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html Thu Jul 20 11:00:30 2023 +0200 @@ -31,57 +31,29 @@ <td>Function to extract the value of a node.</td> </tr> <tr> -<td><a href="#getValue_1">getValue</a></td> -<td>Function to extract the value of a node.</td> -</tr> -<tr> <td><a href="#isBaseString">isBaseString</a></td> <td>Function to check that a node is a bytes or string.</td> </tr> <tr> -<td><a href="#isBaseString_1">isBaseString</a></td> -<td>Function to check that a node is a bytes or string.</td> -</tr> -<tr> <td><a href="#isBytes">isBytes</a></td> <td>Function to check that a node is a bytes.</td> </tr> <tr> -<td><a href="#isBytes_1">isBytes</a></td> -<td>Function to check that a node is a bytes.</td> -</tr> -<tr> <td><a href="#isEllipsis">isEllipsis</a></td> <td>Function to check that a node is an ellipsis.</td> </tr> <tr> -<td><a href="#isEllipsis_1">isEllipsis</a></td> -<td>Function to check that a node is an ellipsis.</td> -</tr> -<tr> <td><a href="#isNameConstant">isNameConstant</a></td> <td>Function to check that a node is a name constant.</td> </tr> <tr> -<td><a href="#isNameConstant_1">isNameConstant</a></td> -<td>Function to check that a node is a name constant.</td> -</tr> -<tr> <td><a href="#isNumber">isNumber</a></td> <td>Function to check that a node is a number.</td> </tr> <tr> -<td><a href="#isNumber_1">isNumber</a></td> -<td>Function to check that a node is a number.</td> -</tr> -<tr> <td><a href="#isString">isString</a></td> <td>Function to check that a node is a string.</td> </tr> -<tr> -<td><a href="#isString_1">isString</a></td> -<td>Function to check that a node is a string.</td> -</tr> </table> <hr /> <hr /> @@ -90,7 +62,7 @@ <b>getValue</b>(<i>node</i>) <p> - Function to extract the value of a node. + Function to extract the value of a node. </p> <dl> @@ -121,77 +93,12 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> -<a NAME="getValue_1" ID="getValue_1"></a> -<h2>getValue</h2> -<b>getValue</b>(<i>node</i>) - -<p> - Function to extract the value of a node. -</p> -<dl> - -<dt><i>node</i> (one of ast.Num, ast.Str, ast.Bytes or ast.NameConstant)</dt> -<dd> -reference to the node to extract the value from -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -value of the node -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -one of str, bytes, int -</dd> -</dl> -<dl> - -<dt>Raises <b>TypeError</b>:</dt> -<dd> -raised to indicate an unsupported type -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> <a NAME="isBaseString" ID="isBaseString"></a> <h2>isBaseString</h2> <b>isBaseString</b>(<i>node</i>) <p> - Function to check that a node is a bytes or string. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating a bytes or string -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="isBaseString_1" ID="isBaseString_1"></a> -<h2>isBaseString</h2> -<b>isBaseString</b>(<i>node</i>) - -<p> - Function to check that a node is a bytes or string. + Function to check that a node is a bytes or string. </p> <dl> @@ -220,36 +127,7 @@ <b>isBytes</b>(<i>node</i>) <p> - Function to check that a node is a bytes. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating a bytes -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="isBytes_1" ID="isBytes_1"></a> -<h2>isBytes</h2> -<b>isBytes</b>(<i>node</i>) - -<p> - Function to check that a node is a bytes. + Function to check that a node is a bytes. </p> <dl> @@ -278,36 +156,7 @@ <b>isEllipsis</b>(<i>node</i>) <p> - Function to check that a node is an ellipsis. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating an ellipsis -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="isEllipsis_1" ID="isEllipsis_1"></a> -<h2>isEllipsis</h2> -<b>isEllipsis</b>(<i>node</i>) - -<p> - Function to check that a node is an ellipsis. + Function to check that a node is an ellipsis. </p> <dl> @@ -336,36 +185,7 @@ <b>isNameConstant</b>(<i>node</i>) <p> - Function to check that a node is a name constant. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating a name constant -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="isNameConstant_1" ID="isNameConstant_1"></a> -<h2>isNameConstant</h2> -<b>isNameConstant</b>(<i>node</i>) - -<p> - Function to check that a node is a name constant. + Function to check that a node is a name constant. </p> <dl> @@ -394,36 +214,7 @@ <b>isNumber</b>(<i>node</i>) <p> - Function to check that a node is a number. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating a number -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="isNumber_1" ID="isNumber_1"></a> -<h2>isNumber</h2> -<b>isNumber</b>(<i>node</i>) - -<p> - Function to check that a node is a number. + Function to check that a node is a number. </p> <dl> @@ -452,36 +243,7 @@ <b>isString</b>(<i>node</i>) <p> - Function to check that a node is a string. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Return:</dt> -<dd> -flag indicating a string -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="isString_1" ID="isString_1"></a> -<h2>isString</h2> -<b>isString</b>(<i>node</i>) - -<p> - Function to check that a node is a string. + Function to check that a node is a string. </p> <dl>