src/eric7/Documentation/Source/eric7.DataViews.CodeMetrics.html

branch
eric7
changeset 10479
856476537696
parent 10423
299802979277
diff -r de9106c55c3d -r 856476537696 src/eric7/Documentation/Source/eric7.DataViews.CodeMetrics.html
--- a/src/eric7/Documentation/Source/eric7.DataViews.CodeMetrics.html	Thu Jan 04 17:16:15 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.DataViews.CodeMetrics.html	Thu Jan 04 18:02:25 2024 +0100
@@ -7,10 +7,10 @@
 <body>
 <a NAME="top" ID="top"></a>
 <h1>eric7.DataViews.CodeMetrics</h1>
-
 <p>
 Module implementing a simple Python code metrics analyzer.
 </p>
+
 <dl>
 
 <dt>Raises <b>ValueError</b>:</dt>
@@ -19,14 +19,17 @@
 </dd>
 </dl>
 <h3>Global Attributes</h3>
-
 <table>
-<tr><td>COMMENT</td></tr><tr><td>DEDENT</td></tr><tr><td>EMPTY</td></tr><tr><td>INDENT</td></tr><tr><td>KEYWORD</td></tr><tr><td>NEWLINE</td></tr>
+<tr><td>COMMENT</td></tr>
+<tr><td>DEDENT</td></tr>
+<tr><td>EMPTY</td></tr>
+<tr><td>INDENT</td></tr>
+<tr><td>KEYWORD</td></tr>
+<tr><td>NEWLINE</td></tr>
 </table>
+
 <h3>Classes</h3>
-
 <table>
-
 <tr>
 <td><a href="#Parser">Parser</a></td>
 <td>Class used to parse the source code of a Python file.</td>
@@ -40,10 +43,9 @@
 <td>Class to store the token related info.</td>
 </tr>
 </table>
+
 <h3>Functions</h3>
-
 <table>
-
 <tr>
 <td><a href="#analyze">analyze</a></td>
 <td>Module function used analyze the source of a Python file.</td>
@@ -53,30 +55,29 @@
 <td>Module function used to collect overall statistics.</td>
 </tr>
 </table>
+
 <hr />
 <hr />
 <a NAME="Parser" ID="Parser"></a>
 <h2>Parser</h2>
-
 <p>
     Class used to parse the source code of a Python file.
 </p>
+
 <h3>Derived from</h3>
 None
 <h3>Class Attributes</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#Parser.__addToken">__addToken</a></td>
 <td>Private method used to add a token to our list of tokens.</td>
@@ -86,19 +87,20 @@
 <td>Public method used to parse the source code.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="Parser.__addToken" ID="Parser.__addToken"></a>
 <h4>Parser.__addToken</h4>
 <b>__addToken</b>(<i>toktype, toktext, srow, scol, line</i>)
-
 <p>
         Private method used to add a token to our list of tokens.
 </p>
+
 <dl>
 
 <dt><i>toktype</i> (int)</dt>
@@ -125,10 +127,10 @@
 <a NAME="Parser.parse" ID="Parser.parse"></a>
 <h4>Parser.parse</h4>
 <b>parse</b>(<i>text</i>)
-
 <p>
         Public method used to parse the source code.
 </p>
+
 <dl>
 
 <dt><i>text</i> (str)</dt>
@@ -141,26 +143,24 @@
 <hr />
 <a NAME="SourceStat" ID="SourceStat"></a>
 <h2>SourceStat</h2>
-
 <p>
     Class used to calculate and store the source code statistics.
 </p>
+
 <h3>Derived from</h3>
 None
 <h3>Class Attributes</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#SourceStat.__init__">SourceStat</a></td>
 <td>Constructor</td>
@@ -186,26 +186,27 @@
 <td>Public method used to store an identifier.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="SourceStat.__init__" ID="SourceStat.__init__"></a>
 <h4>SourceStat (Constructor)</h4>
 <b>SourceStat</b>(<i></i>)
-
 <p>
         Constructor
 </p>
+
 <a NAME="SourceStat.dedent" ID="SourceStat.dedent"></a>
 <h4>SourceStat.dedent</h4>
 <b>dedent</b>(<i>tok</i>)
-
 <p>
         Public method used to decrement the indentation level.
 </p>
+
 <dl>
 
 <dt><i>tok</i> (Token)</dt>
@@ -223,10 +224,10 @@
 <a NAME="SourceStat.getCounter" ID="SourceStat.getCounter"></a>
 <h4>SourceStat.getCounter</h4>
 <b>getCounter</b>(<i>counterId, key</i>)
-
 <p>
         Public method used to get a specific counter value.
 </p>
+
 <dl>
 
 <dt><i>counterId</i> (str)</dt>
@@ -253,10 +254,10 @@
 <a NAME="SourceStat.inc" ID="SourceStat.inc"></a>
 <h4>SourceStat.inc</h4>
 <b>inc</b>(<i>key, value=1</i>)
-
 <p>
         Public method used to increment the value of a key.
 </p>
+
 <dl>
 
 <dt><i>key</i> (str)</dt>
@@ -271,17 +272,17 @@
 <a NAME="SourceStat.indent" ID="SourceStat.indent"></a>
 <h4>SourceStat.indent</h4>
 <b>indent</b>(<i></i>)
-
 <p>
         Public method used to increment the indentation level.
 </p>
+
 <a NAME="SourceStat.push" ID="SourceStat.push"></a>
 <h4>SourceStat.push</h4>
 <b>push</b>(<i>identifier, row</i>)
-
 <p>
         Public method used to store an identifier.
 </p>
+
 <dl>
 
 <dt><i>identifier</i> (str)</dt>
@@ -298,43 +299,47 @@
 <hr />
 <a NAME="Token" ID="Token"></a>
 <h2>Token</h2>
-
 <p>
     Class to store the token related info.
 </p>
+
 <h3>Derived from</h3>
 None
 <h3>Class Attributes</h3>
+<table>
+<tr><td>col</td></tr>
+<tr><td>line</td></tr>
+<tr><td>row</td></tr>
+<tr><td>text</td></tr>
+<tr><td>type</td></tr>
+</table>
 
-<table>
-<tr><td>col</td></tr><tr><td>line</td></tr><tr><td>row</td></tr><tr><td>text</td></tr><tr><td>type</td></tr>
-</table>
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 <hr />
 <a NAME="analyze" ID="analyze"></a>
 <h2>analyze</h2>
 <b>analyze</b>(<i>filename, total</i>)
-
 <p>
     Module function used analyze the source of a Python file.
 </p>
+
 <dl>
 
 <dt><i>filename</i> (str)</dt>
@@ -364,10 +369,10 @@
 <a NAME="summarize" ID="summarize"></a>
 <h2>summarize</h2>
 <b>summarize</b>(<i>total, key, value</i>)
-
 <p>
     Module function used to collect overall statistics.
 </p>
+
 <dl>
 
 <dt><i>total</i> (dict)</dt>
@@ -397,4 +402,4 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
-</body></html>
\ No newline at end of file
+</body></html>

eric ide

mercurial