Fri, 04 Oct 2019 17:32:42 +0200
Regenerated the source docu.
--- a/eric6/APIs/Python3/eric6.api Fri Oct 04 17:31:47 2019 +0200 +++ b/eric6/APIs/Python3/eric6.api Fri Oct 04 17:32:42 2019 +0200 @@ -2869,6 +2869,12 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.FunctionVisitor?1(sourceLines) eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.getAnnotationComplexity?4(annotationNode) eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.hasTypeAnnotations?4(funcNode) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.getValue?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.isBaseString?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.isBytes?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.isNameConstant?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.isNumber?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.isString?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.CodeStyleAddBuiltinIgnoreDialog.getData?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.CodeStyleAddBuiltinIgnoreDialog.on_leftEdit_textChanged?4(txt) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.CodeStyleAddBuiltinIgnoreDialog.on_rightEdit_textChanged?4(txt) @@ -3002,6 +3008,7 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_Bytes?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_Call?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_ClassDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_Constant?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_FunctionDef?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_Module?4(node) eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.TextVisitor.visit_Str?4(node)
--- a/eric6/Documentation/Help/source.qhp Fri Oct 04 17:31:47 2019 +0200 +++ b/eric6/Documentation/Help/source.qhp Fri Oct 04 17:32:42 2019 +0200 @@ -287,6 +287,7 @@ <section title="eric6.Plugins.CheckerPlugins" ref="index-eric6.Plugins.CheckerPlugins.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html" /> @@ -1704,6 +1705,7 @@ <keyword name="AssociationItem.parseAssociationItemDataString" id="AssociationItem.parseAssociationItemDataString" ref="eric6.Graphics.AssociationItem.html#AssociationItem.parseAssociationItemDataString" /> <keyword name="AssociationItem.unassociate" id="AssociationItem.unassociate" ref="eric6.Graphics.AssociationItem.html#AssociationItem.unassociate" /> <keyword name="AssociationItem.widgetMoved" id="AssociationItem.widgetMoved" ref="eric6.Graphics.AssociationItem.html#AssociationItem.widgetMoved" /> + <keyword name="AstUtilities (Module)" id="AstUtilities (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html" /> <keyword name="AsyncFile" id="AsyncFile" ref="eric6.DebugClients.Python.AsyncFile.html#AsyncFile" /> <keyword name="AsyncFile (Constructor)" id="AsyncFile (Constructor)" ref="eric6.DebugClients.Python.AsyncFile.html#AsyncFile.__init__" /> <keyword name="AsyncFile (Module)" id="AsyncFile (Module)" ref="eric6.DebugClients.Python.AsyncFile.html" /> @@ -14713,13 +14715,13 @@ <keyword name="TextVisitor" id="TextVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor" /> <keyword name="TextVisitor (Constructor)" id="TextVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.__init__" /> <keyword name="TextVisitor.__addNode" id="TextVisitor.__addNode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.__addNode" /> - <keyword name="TextVisitor.__isBaseString" id="TextVisitor.__isBaseString" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.__isBaseString" /> <keyword name="TextVisitor.__visitBody" id="TextVisitor.__visitBody" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.__visitBody" /> <keyword name="TextVisitor.__visitDefinition" id="TextVisitor.__visitDefinition" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.__visitDefinition" /> <keyword name="TextVisitor.visit_AsyncFunctionDef" id="TextVisitor.visit_AsyncFunctionDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_AsyncFunctionDef" /> <keyword name="TextVisitor.visit_Bytes" id="TextVisitor.visit_Bytes" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_Bytes" /> <keyword name="TextVisitor.visit_Call" id="TextVisitor.visit_Call" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_Call" /> <keyword name="TextVisitor.visit_ClassDef" id="TextVisitor.visit_ClassDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_ClassDef" /> + <keyword name="TextVisitor.visit_Constant" id="TextVisitor.visit_Constant" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_Constant" /> <keyword name="TextVisitor.visit_FunctionDef" id="TextVisitor.visit_FunctionDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_FunctionDef" /> <keyword name="TextVisitor.visit_Module" id="TextVisitor.visit_Module" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_Module" /> <keyword name="TextVisitor.visit_Str" id="TextVisitor.visit_Str" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#TextVisitor.visit_Str" /> @@ -17318,6 +17320,8 @@ <keyword name="getUser" id="getUser" ref="eric6.Preferences.__init__.html#getUser" /> <keyword name="getUserName" id="getUserName" ref="eric6.Utilities.__init__.html#getUserName" /> <keyword name="getVCS" id="getVCS" ref="eric6.Preferences.__init__.html#getVCS" /> + <keyword name="getValue" id="getValue" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#getValue" /> + <keyword name="getValue_1" id="getValue_1" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#getValue_1" /> <keyword name="getVarFilters" id="getVarFilters" ref="eric6.Preferences.__init__.html#getVarFilters" /> <keyword name="getVcsSystemIndicator" id="getVcsSystemIndicator" ref="eric6.Plugins.PluginVcsGit.html#getVcsSystemIndicator" /> <keyword name="getVcsSystemIndicator" id="getVcsSystemIndicator" ref="eric6.Plugins.PluginVcsMercurial.html#getVcsSystemIndicator" /> @@ -17392,6 +17396,10 @@ <keyword name="instance" id="instance" ref="eric6.WebBrowser.ZoomManager.ZoomManager.html#instance" /> <keyword name="ircFilter" id="ircFilter" ref="eric6.Network.IRC.IrcUtilities.html#ircFilter" /> <keyword name="ircTimestamp" id="ircTimestamp" ref="eric6.Network.IRC.IrcUtilities.html#ircTimestamp" /> + <keyword name="isBaseString" id="isBaseString" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isBaseString" /> + <keyword name="isBaseString_1" id="isBaseString_1" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isBaseString_1" /> + <keyword name="isBytes" id="isBytes" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isBytes" /> + <keyword name="isBytes_1" id="isBytes_1" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isBytes_1" /> <keyword name="isClientSecretFileAvailable" id="isClientSecretFileAvailable" ref="eric6.E5Network.E5GoogleMailHelpers.html#isClientSecretFileAvailable" /> <keyword name="isCondaAvailable" id="isCondaAvailable" ref="eric6.CondaInterface.__init__.html#isCondaAvailable" /> <keyword name="isConfigured" id="isConfigured" ref="eric6.Preferences.__init__.html#isConfigured" /> @@ -17402,6 +17410,12 @@ <keyword name="isKdeDesktop" id="isKdeDesktop" ref="eric6.Globals.__init__.html#isKdeDesktop" /> <keyword name="isLinuxPlatform" id="isLinuxPlatform" ref="eric6.Globals.__init__.html#isLinuxPlatform" /> <keyword name="isMacPlatform" id="isMacPlatform" ref="eric6.Globals.__init__.html#isMacPlatform" /> + <keyword name="isNameConstant" id="isNameConstant" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isNameConstant" /> + <keyword name="isNameConstant_1" id="isNameConstant_1" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isNameConstant_1" /> + <keyword name="isNumber" id="isNumber" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isNumber" /> + <keyword name="isNumber_1" id="isNumber_1" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isNumber_1" /> + <keyword name="isString" id="isString" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isString" /> + <keyword name="isString_1" id="isString_1" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html#isString_1" /> <keyword name="isTextFile" id="isTextFile" ref="eric6.Utilities.MimeTypes.html#isTextFile" /> <keyword name="isValidAddress" id="isValidAddress" ref="eric6.E5Network.__init__.html#isValidAddress" /> <keyword name="isValidIPv4Address" id="isValidIPv4Address" ref="eric6.E5Network.__init__.html#isValidIPv4Address" /> @@ -17989,6 +18003,7 @@ <file>eric6.PluginManager.PluginUninstallDialog.html</file> <file>eric6.Plugins.AboutPlugin.AboutDialog.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html</file>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html Fri Oct 04 17:32:42 2019 +0200 @@ -0,0 +1,455 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities</h1> + +<p> +Module implementing some utility and compatibility functions for working with +the ast module. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#getValue">getValue</a></td> +<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="#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 /> +<a NAME="getValue" ID="getValue"></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> (ast.Constant)</dt> +<dd> +reference to the node to extract the value from +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +value of the node +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +any +</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="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>Returns:</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>Returns:</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. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +reference to the node to check +</dd> +</dl> +<dl> +<dt>Returns:</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="isBytes" ID="isBytes"></a> +<h2>isBytes</h2> +<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>Returns:</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. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +reference to the node to check +</dd> +</dl> +<dl> +<dt>Returns:</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="isNameConstant" ID="isNameConstant"></a> +<h2>isNameConstant</h2> +<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>Returns:</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. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +reference to the node to check +</dd> +</dl> +<dl> +<dt>Returns:</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="isNumber" ID="isNumber"></a> +<h2>isNumber</h2> +<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>Returns:</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. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +reference to the node to check +</dd> +</dl> +<dl> +<dt>Returns:</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="isString" ID="isString"></a> +<h2>isString</h2> +<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>Returns:</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. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +reference to the node to check +</dd> +</dl> +<dl> +<dt>Returns:</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 /> +</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html Fri Oct 04 17:31:47 2019 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html Fri Oct 04 17:32:42 2019 +0200 @@ -1856,10 +1856,6 @@ <td>Private method to add a node to our list of nodes.</td> </tr> <tr> -<td><a href="#TextVisitor.__isBaseString">__isBaseString</a></td> -<td>Private method to determine, if a node is a base string node.</td> -</tr> -<tr> <td><a href="#TextVisitor.__visitBody">__visitBody</a></td> <td>Private method to traverse the body of the node manually.</td> </tr> @@ -1884,6 +1880,10 @@ <td>Public method to handle a class definition.</td> </tr> <tr> +<td><a href="#TextVisitor.visit_Constant">visit_Constant</a></td> +<td>Public method to handle constant nodes.</td> +</tr> +<tr> <td><a href="#TextVisitor.visit_FunctionDef">visit_FunctionDef</a></td> <td>Public method to handle a function definition.</td> </tr> @@ -1923,32 +1923,6 @@ reference to the node to add </dd> </dl> -<a NAME="TextVisitor.__isBaseString" ID="TextVisitor.__isBaseString"></a> -<h4>TextVisitor.__isBaseString</h4> -<b>__isBaseString</b>(<i>node</i>) - -<p> - Private method to determine, if a node is a base string node. -</p> -<dl> - -<dt><i>node</i> (ast.AST)</dt> -<dd> -reference to the node to check -</dd> -</dl> -<dl> -<dt>Returns:</dt> -<dd> -flag indicating a base string -</dd> -</dl> -<dl> -<dt>Return Type:</dt> -<dd> -bool -</dd> -</dl> <a NAME="TextVisitor.__visitBody" ID="TextVisitor.__visitBody"></a> <h4>TextVisitor.__visitBody</h4> <b>__visitBody</b>(<i>node</i>) @@ -2037,6 +2011,20 @@ reference to the node to handle </dd> </dl> +<a NAME="TextVisitor.visit_Constant" ID="TextVisitor.visit_Constant"></a> +<h4>TextVisitor.visit_Constant</h4> +<b>visit_Constant</b>(<i>node</i>) + +<p> + Public method to handle constant nodes. +</p> +<dl> + +<dt><i>node</i> (ast.Constant)</dt> +<dd> +reference to the bytes node +</dd> +</dl> <a NAME="TextVisitor.visit_FunctionDef" ID="TextVisitor.visit_FunctionDef"></a> <h4>TextVisitor.visit_FunctionDef</h4> <b>visit_FunctionDef</b>(<i>node</i>)
--- a/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.html Fri Oct 04 17:31:47 2019 +0200 +++ b/eric6/Documentation/Source/eric6.Preferences.ConfigurationPages.EditorLanguageTabIndentOverrideDialog.html Fri Oct 04 17:32:42 2019 +0200 @@ -98,24 +98,24 @@ </p> <dl> -<dt><i>editMode</i> (bool)</dt> +<dt><i>editMode=</i> (bool)</dt> <dd> flag indicating the edit mode (Note: in edit mode the language is fixed) </dd> -<dt><i>languages</i> (list of str)</dt> +<dt><i>languages=</i> (list of str)</dt> <dd> list of available languages </dd> -<dt><i>tabWidth</i> (int)</dt> +<dt><i>tabWidth=</i> (int)</dt> <dd> tab width to be set </dd> -<dt><i>indentWidth</i> (int)</dt> +<dt><i>indentWidth=</i> (int)</dt> <dd> indentation width to be set </dd> -<dt><i>parent</i> (QWidget)</dt> +<dt><i>parent=</i> (QWidget)</dt> <dd> reference to the parent widget </dd>
--- a/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html Fri Oct 04 17:31:47 2019 +0200 +++ b/eric6/Documentation/Source/index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html Fri Oct 04 17:32:42 2019 +0200 @@ -34,6 +34,10 @@ <td>Module implementing a checker for function type annotations.</td> </tr> <tr> +<td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html">AstUtilities</a></td> +<td>Module implementing some utility and compatibility functions for working with the ast module.</td> +</tr> +<tr> <td><a href="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.html">CodeStyleAddBuiltinIgnoreDialog</a></td> <td>Module implementing a dialog to enter the data for a built-in assignment to be ignored.</td> </tr>