Documentation/Source/eric5.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.html

Fri, 03 Jan 2014 13:52:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 03 Jan 2014 13:52:58 +0100
changeset 3165
400234200cd6
parent 3083
6382a74d9599
child 3217
87b8a0745edd
child 3456
96232974dcdb
permissions
-rw-r--r--

Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.

2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 <!DOCTYPE html>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 <html><head>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 <title>eric5.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker</title>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 <meta charset="UTF-8">
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 <style>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 body {
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7 background: #EDECE6;
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8 margin: 0em 1em 10em 1em;
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 color: black;
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10 }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 h1 { color: white; background: #85774A; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 h2 { color: white; background: #85774A; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 h3 { color: white; background: #9D936E; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 h4 { color: white; background: #9D936E; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 a { color: #BA6D36; }
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 </style>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 </head>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 <body><a NAME="top" ID="top"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 <h1>eric5.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker</h1>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 Module implementing a checker for documentation string conventions.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 <h3>Global Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 <table>
3083
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
28 <tr><td>PyCF_ONLY_AST</td></tr>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 <h3>Classes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 <td><a href="#DocStyleChecker">DocStyleChecker</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 <td>Class implementing a checker for documentation string conventions.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 <td><a href="#DocStyleContext">DocStyleContext</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 <td>Class implementing the source context.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 <h3>Functions</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 <hr /><hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 <a NAME="DocStyleChecker" ID="DocStyleChecker"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 <h2>DocStyleChecker</h2>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 Class implementing a checker for documentation string conventions.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 <h3>Derived from</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 object
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 <h3>Class Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 <table>
3083
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
54 <tr><td>Codes</td></tr><tr><td>Messages</td></tr><tr><td>MessagesSampleArgs</td></tr>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 <h3>Class Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 <td><a href="#DocStyleChecker.getMessage">getMessage</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 <td>Class method to get a translated and formatted message for a given code.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 <h3>Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 <td><a href="#DocStyleChecker.__init__">DocStyleChecker</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 <td>Constructor</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 <td><a href="#DocStyleChecker.__checkBackslashes">__checkBackslashes</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 <td>Private method to check, that all docstrings containing backslashes are surrounded by raw triple double quotes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 <td><a href="#DocStyleChecker.__checkBlankAfterLastParagraph">__checkBlankAfterLastParagraph</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 <td>Private method to check, that the last paragraph of docstrings is followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 <td><a href="#DocStyleChecker.__checkBlankAfterSummary">__checkBlankAfterSummary</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 <td>Private method to check, that docstring summaries are followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 <td><a href="#DocStyleChecker.__checkBlankBeforeAndAfterClass">__checkBlankBeforeAndAfterClass</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 <td>Private method to check, that class docstrings have one blank line around them.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 <td><a href="#DocStyleChecker.__checkClassDocstring">__checkClassDocstring</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 <td>Private method to check, that all public functions and methods have a docstring.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 <td><a href="#DocStyleChecker.__checkEndsWithPeriod">__checkEndsWithPeriod</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 <td>Private method to check, that docstring summaries end with a period.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 <td><a href="#DocStyleChecker.__checkEricBlankAfterSummary">__checkEricBlankAfterSummary</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 <td>Private method to check, that docstring summaries are followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 <td><a href="#DocStyleChecker.__checkEricEndsWithPeriod">__checkEricEndsWithPeriod</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 <td>Private method to check, that docstring summaries end with a period.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 <td><a href="#DocStyleChecker.__checkEricException">__checkEricException</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 <td>Private method to check, that docstrings contain an &#64;exception line if they raise an exception and don't otherwise.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 <td><a href="#DocStyleChecker.__checkEricFunctionArguments">__checkEricFunctionArguments</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 <td>Private method to check, that docstrings contain an &#64;param and/or &#64;keyparam line for each argument.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 <td><a href="#DocStyleChecker.__checkEricNBlankAfterLastParagraph">__checkEricNBlankAfterLastParagraph</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 <td>Private method to check, that the last paragraph of docstrings is not followed by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 <td><a href="#DocStyleChecker.__checkEricNoBlankBeforeAndAfterClassOrFunction">__checkEricNoBlankBeforeAndAfterClassOrFunction</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 <td>Private method to check, that class and function/method docstrings have no blank line around them.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 <td><a href="#DocStyleChecker.__checkEricQuotesOnSeparateLines">__checkEricQuotesOnSeparateLines</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 <td>Private method to check, that leading and trailing quotes are on a line by themselves.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 <td><a href="#DocStyleChecker.__checkEricReturn">__checkEricReturn</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 <td>Private method to check, that docstrings contain an &#64;return line if they return anything and don't otherwise.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 <td><a href="#DocStyleChecker.__checkFunctionDocstring">__checkFunctionDocstring</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 <td>Private method to check, that all public functions and methods have a docstring.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 <td><a href="#DocStyleChecker.__checkImperativeMood">__checkImperativeMood</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 <td>Private method to check, that docstring summaries are in imperative mood.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 <td><a href="#DocStyleChecker.__checkIndent">__checkIndent</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 <td>Private method to check, that docstrings are properly indented.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 <td><a href="#DocStyleChecker.__checkModulesDocstrings">__checkModulesDocstrings</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 <td>Private method to check, if the module has a docstring.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 <td><a href="#DocStyleChecker.__checkNoBlankLineBefore">__checkNoBlankLineBefore</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 <td>Private method to check, that function/method docstrings are not preceded by a blank line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
126 <td><a href="#DocStyleChecker.__checkNoSignature">__checkNoSignature</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
127 <td>Private method to check, that docstring summaries don't repeat the function's signature.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
128 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
129 <td><a href="#DocStyleChecker.__checkOneLiner">__checkOneLiner</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
130 <td>Private method to check, that one-liner docstrings fit on one line with quotes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
131 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
132 <td><a href="#DocStyleChecker.__checkReturnType">__checkReturnType</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
133 <td>Private method to check, that docstrings mention the return value type.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
134 </tr><tr>
3165
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
135 <td><a href="#DocStyleChecker.__checkSummary">__checkSummary</a></td>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
136 <td>Private method to check, that docstring summaries contain some text.</td>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
137 </tr><tr>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
138 <td><a href="#DocStyleChecker.__checkTripleDoubleQuotes">__checkTripleDoubleQuotes</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
139 <td>Private method to check, that all docstrings are surrounded by triple double quotes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
140 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
141 <td><a href="#DocStyleChecker.__checkUnicode">__checkUnicode</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
142 <td>Private method to check, that all docstrings containing unicode characters are surrounded by unicode triple double quotes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
143 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
144 <td><a href="#DocStyleChecker.__error">__error</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
145 <td>Private method to record an issue.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
146 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
147 <td><a href="#DocStyleChecker.__getArgNames">__getArgNames</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
148 <td></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
149 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
150 <td><a href="#DocStyleChecker.__getSummaryLine">__getSummaryLine</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
151 <td>Private method to extract the summary line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
152 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
153 <td><a href="#DocStyleChecker.__getSummaryLines">__getSummaryLines</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
154 <td>Private method to extract the summary lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
155 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
156 <td><a href="#DocStyleChecker.__ignoreCode">__ignoreCode</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
157 <td>Private method to check if the error code should be ignored.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
158 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
159 <td><a href="#DocStyleChecker.__parseClasses">__parseClasses</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
160 <td>Private method to extract top-level classes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
161 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
162 <td><a href="#DocStyleChecker.__parseContexts">__parseContexts</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
163 <td>Private method to extract a context from the source.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
164 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
165 <td><a href="#DocStyleChecker.__parseDocstring">__parseDocstring</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
166 <td>Private method to extract a docstring given `def` or `class` source.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
167 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
168 <td><a href="#DocStyleChecker.__parseFunctions">__parseFunctions</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
169 <td>Private method to extract top-level functions.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
170 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
171 <td><a href="#DocStyleChecker.__parseMethods">__parseMethods</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
172 <td>Private method to extract methods of all classes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
173 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
174 <td><a href="#DocStyleChecker.__parseModuleDocstring">__parseModuleDocstring</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
175 <td>Private method to extract a docstring given a module source.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
176 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
177 <td><a href="#DocStyleChecker.__parseTopLevel">__parseTopLevel</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
178 <td>Private method to extract top-level functions or classes.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
179 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
180 <td><a href="#DocStyleChecker.__readline">__readline</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
181 <td>Private method to get the next line from the source.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
182 </tr><tr>
3083
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
183 <td><a href="#DocStyleChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td>
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
184 <td>Private method to report a syntax error.</td>
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
185 </tr><tr>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
186 <td><a href="#DocStyleChecker.__resetReadline">__resetReadline</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
187 <td>Private method to reset the internal readline function.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
188 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
189 <td><a href="#DocStyleChecker.__skipIndentedBlock">__skipIndentedBlock</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
190 <td>Private method to skip over an indented block of source code.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
191 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
192 <td><a href="#DocStyleChecker.run">run</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
193 <td>Public method to check the given source for violations of doc string conventions.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
194 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
195 <td><a href="#DocStyleChecker.unpackArgs">unpackArgs</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
196 <td>Local helper function to unpack function argument names.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
197 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
198 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
199 <h3>Static Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
200 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
201 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
202 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
203 <a NAME="DocStyleChecker.getMessage" ID="DocStyleChecker.getMessage"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
204 <h4>DocStyleChecker.getMessage (class method)</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
205 <b>getMessage</b>(<i>code, *args</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
206 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
207 Class method to get a translated and formatted message for a
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
208 given code.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
209 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
210 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
211 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
212 message code (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
213 </dd><dt><i>args</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
214 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
215 arguments for a formatted message (list)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
216 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
217 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
218 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
219 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
220 translated and formatted message (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
221 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
222 </dl><a NAME="DocStyleChecker.__init__" ID="DocStyleChecker.__init__"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
223 <h4>DocStyleChecker (Constructor)</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
224 <b>DocStyleChecker</b>(<i>source, filename, select, ignore, expected, repeat, maxLineLength=79, docType="pep257"</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
225 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
226 Constructor
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
227 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
228 <dt><i>source</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
229 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
230 source code to be checked (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
231 </dd><dt><i>filename</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
232 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
233 name of the source file (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
234 </dd><dt><i>select</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
235 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
236 list of selected codes (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
237 </dd><dt><i>ignore</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
238 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
239 list of codes to be ignored (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
240 </dd><dt><i>expected</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
241 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
242 list of expected codes (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
243 </dd><dt><i>repeat</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
244 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
245 flag indicating to report each occurrence of a code
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
246 (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
247 </dd><dt><i>maxLineLength=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
248 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
249 allowed line length (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
250 </dd><dt><i>docType=</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
251 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
252 type of the documentation strings
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
253 (string, one of 'eric' or 'pep257')
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
254 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
255 </dl><a NAME="DocStyleChecker.__checkBackslashes" ID="DocStyleChecker.__checkBackslashes"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
256 <h4>DocStyleChecker.__checkBackslashes</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
257 <b>__checkBackslashes</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
258 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
259 Private method to check, that all docstrings containing
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
260 backslashes are surrounded by raw triple double quotes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
261 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
262 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
263 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
264 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
265 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
266 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
267 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
268 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
269 </dl><a NAME="DocStyleChecker.__checkBlankAfterLastParagraph" ID="DocStyleChecker.__checkBlankAfterLastParagraph"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
270 <h4>DocStyleChecker.__checkBlankAfterLastParagraph</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
271 <b>__checkBlankAfterLastParagraph</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
272 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
273 Private method to check, that the last paragraph of docstrings is
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
274 followed by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
275 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
276 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
277 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
278 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
279 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
280 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
281 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
282 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
283 </dl><a NAME="DocStyleChecker.__checkBlankAfterSummary" ID="DocStyleChecker.__checkBlankAfterSummary"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
284 <h4>DocStyleChecker.__checkBlankAfterSummary</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
285 <b>__checkBlankAfterSummary</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
286 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
287 Private method to check, that docstring summaries are followed
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
288 by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
289 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
290 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
291 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
292 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
293 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
294 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
295 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
296 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
297 </dl><a NAME="DocStyleChecker.__checkBlankBeforeAndAfterClass" ID="DocStyleChecker.__checkBlankBeforeAndAfterClass"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
298 <h4>DocStyleChecker.__checkBlankBeforeAndAfterClass</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
299 <b>__checkBlankBeforeAndAfterClass</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
300 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
301 Private method to check, that class docstrings have one
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
302 blank line around them.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
303 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
304 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
305 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
306 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
307 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
308 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
309 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
310 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
311 </dl><a NAME="DocStyleChecker.__checkClassDocstring" ID="DocStyleChecker.__checkClassDocstring"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
312 <h4>DocStyleChecker.__checkClassDocstring</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
313 <b>__checkClassDocstring</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
314 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
315 Private method to check, that all public functions and methods
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
316 have a docstring.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
317 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
318 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
319 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
320 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
321 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
322 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
323 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
324 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
325 </dl><a NAME="DocStyleChecker.__checkEndsWithPeriod" ID="DocStyleChecker.__checkEndsWithPeriod"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
326 <h4>DocStyleChecker.__checkEndsWithPeriod</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
327 <b>__checkEndsWithPeriod</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
328 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
329 Private method to check, that docstring summaries end with a period.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
330 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
331 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
332 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
333 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
334 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
335 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
336 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
337 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
338 </dl><a NAME="DocStyleChecker.__checkEricBlankAfterSummary" ID="DocStyleChecker.__checkEricBlankAfterSummary"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
339 <h4>DocStyleChecker.__checkEricBlankAfterSummary</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
340 <b>__checkEricBlankAfterSummary</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
341 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
342 Private method to check, that docstring summaries are followed
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
343 by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
344 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
345 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
346 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
347 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
348 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
349 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
350 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
351 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
352 </dl><a NAME="DocStyleChecker.__checkEricEndsWithPeriod" ID="DocStyleChecker.__checkEricEndsWithPeriod"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
353 <h4>DocStyleChecker.__checkEricEndsWithPeriod</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
354 <b>__checkEricEndsWithPeriod</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
355 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
356 Private method to check, that docstring summaries end with a period.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
357 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
358 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
359 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
360 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
361 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
362 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
363 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
364 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
365 </dl><a NAME="DocStyleChecker.__checkEricException" ID="DocStyleChecker.__checkEricException"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
366 <h4>DocStyleChecker.__checkEricException</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
367 <b>__checkEricException</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
368 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
369 Private method to check, that docstrings contain an &#64;exception line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
370 if they raise an exception and don't otherwise.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
371 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
372 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
373 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
374 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
375 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
376 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
377 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
378 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
379 </dl><a NAME="DocStyleChecker.__checkEricFunctionArguments" ID="DocStyleChecker.__checkEricFunctionArguments"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
380 <h4>DocStyleChecker.__checkEricFunctionArguments</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
381 <b>__checkEricFunctionArguments</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
382 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
383 Private method to check, that docstrings contain an &#64;param and/or
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
384 &#64;keyparam line for each argument.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
385 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
386 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
387 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
388 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
389 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
390 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
391 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
392 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
393 </dl><a NAME="DocStyleChecker.__checkEricNBlankAfterLastParagraph" ID="DocStyleChecker.__checkEricNBlankAfterLastParagraph"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
394 <h4>DocStyleChecker.__checkEricNBlankAfterLastParagraph</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
395 <b>__checkEricNBlankAfterLastParagraph</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
396 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
397 Private method to check, that the last paragraph of docstrings is
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
398 not followed by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
399 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
400 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
401 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
402 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
403 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
404 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
405 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
406 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
407 </dl><a NAME="DocStyleChecker.__checkEricNoBlankBeforeAndAfterClassOrFunction" ID="DocStyleChecker.__checkEricNoBlankBeforeAndAfterClassOrFunction"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
408 <h4>DocStyleChecker.__checkEricNoBlankBeforeAndAfterClassOrFunction</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
409 <b>__checkEricNoBlankBeforeAndAfterClassOrFunction</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
410 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
411 Private method to check, that class and function/method docstrings
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
412 have no blank line around them.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
413 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
414 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
415 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
416 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
417 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
418 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
419 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
420 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
421 </dl><a NAME="DocStyleChecker.__checkEricQuotesOnSeparateLines" ID="DocStyleChecker.__checkEricQuotesOnSeparateLines"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
422 <h4>DocStyleChecker.__checkEricQuotesOnSeparateLines</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
423 <b>__checkEricQuotesOnSeparateLines</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
424 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
425 Private method to check, that leading and trailing quotes are on
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
426 a line by themselves.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
427 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
428 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
429 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
430 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
431 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
432 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
433 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
434 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
435 </dl><a NAME="DocStyleChecker.__checkEricReturn" ID="DocStyleChecker.__checkEricReturn"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
436 <h4>DocStyleChecker.__checkEricReturn</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
437 <b>__checkEricReturn</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
438 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
439 Private method to check, that docstrings contain an &#64;return line
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
440 if they return anything and don't otherwise.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
441 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
442 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
443 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
444 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
445 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
446 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
447 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
448 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
449 </dl><a NAME="DocStyleChecker.__checkFunctionDocstring" ID="DocStyleChecker.__checkFunctionDocstring"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
450 <h4>DocStyleChecker.__checkFunctionDocstring</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
451 <b>__checkFunctionDocstring</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
452 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
453 Private method to check, that all public functions and methods
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
454 have a docstring.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
455 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
456 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
457 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
458 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
459 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
460 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
461 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
462 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
463 </dl><a NAME="DocStyleChecker.__checkImperativeMood" ID="DocStyleChecker.__checkImperativeMood"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
464 <h4>DocStyleChecker.__checkImperativeMood</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
465 <b>__checkImperativeMood</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
466 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
467 Private method to check, that docstring summaries are in
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
468 imperative mood.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
469 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
470 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
471 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
472 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
473 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
474 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
475 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
476 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
477 </dl><a NAME="DocStyleChecker.__checkIndent" ID="DocStyleChecker.__checkIndent"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
478 <h4>DocStyleChecker.__checkIndent</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
479 <b>__checkIndent</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
480 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
481 Private method to check, that docstrings are properly indented.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
482 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
483 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
484 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
485 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
486 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
487 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
488 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
489 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
490 </dl><a NAME="DocStyleChecker.__checkModulesDocstrings" ID="DocStyleChecker.__checkModulesDocstrings"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
491 <h4>DocStyleChecker.__checkModulesDocstrings</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
492 <b>__checkModulesDocstrings</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
493 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
494 Private method to check, if the module has a docstring.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
495 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
496 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
497 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
498 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
499 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
500 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
501 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
502 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
503 </dl><a NAME="DocStyleChecker.__checkNoBlankLineBefore" ID="DocStyleChecker.__checkNoBlankLineBefore"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
504 <h4>DocStyleChecker.__checkNoBlankLineBefore</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
505 <b>__checkNoBlankLineBefore</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
506 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
507 Private method to check, that function/method docstrings are not
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
508 preceded by a blank line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
509 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
510 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
511 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
512 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
513 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
514 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
515 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
516 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
517 </dl><a NAME="DocStyleChecker.__checkNoSignature" ID="DocStyleChecker.__checkNoSignature"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
518 <h4>DocStyleChecker.__checkNoSignature</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
519 <b>__checkNoSignature</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
520 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
521 Private method to check, that docstring summaries don't repeat
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
522 the function's signature.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
523 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
524 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
525 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
526 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
527 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
528 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
529 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
530 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
531 </dl><a NAME="DocStyleChecker.__checkOneLiner" ID="DocStyleChecker.__checkOneLiner"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
532 <h4>DocStyleChecker.__checkOneLiner</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
533 <b>__checkOneLiner</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
534 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
535 Private method to check, that one-liner docstrings fit on
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
536 one line with quotes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
537 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
538 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
539 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
540 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
541 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
542 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
543 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
544 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
545 </dl><a NAME="DocStyleChecker.__checkReturnType" ID="DocStyleChecker.__checkReturnType"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
546 <h4>DocStyleChecker.__checkReturnType</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
547 <b>__checkReturnType</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
548 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
549 Private method to check, that docstrings mention the return value type.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
550 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
551 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
552 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
553 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
554 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
555 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
556 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
557 </dd>
3165
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
558 </dl><a NAME="DocStyleChecker.__checkSummary" ID="DocStyleChecker.__checkSummary"></a>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
559 <h4>DocStyleChecker.__checkSummary</h4>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
560 <b>__checkSummary</b>(<i>docstringContext, context</i>)
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
561 <p>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
562 Private method to check, that docstring summaries contain some text.
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
563 </p><dl>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
564 <dt><i>docstringContext</i></dt>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
565 <dd>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
566 docstring context (DocStyleContext)
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
567 </dd><dt><i>context</i></dt>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
568 <dd>
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
569 context of the docstring (DocStyleContext)
400234200cd6 Fixed a serious bug in the doc style checker and made the style checker for Python2 more robust against exceptions in the external process.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 3083
diff changeset
570 </dd>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
571 </dl><a NAME="DocStyleChecker.__checkTripleDoubleQuotes" ID="DocStyleChecker.__checkTripleDoubleQuotes"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
572 <h4>DocStyleChecker.__checkTripleDoubleQuotes</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
573 <b>__checkTripleDoubleQuotes</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
574 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
575 Private method to check, that all docstrings are surrounded
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
576 by triple double quotes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
577 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
578 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
579 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
580 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
581 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
582 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
583 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
584 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
585 </dl><a NAME="DocStyleChecker.__checkUnicode" ID="DocStyleChecker.__checkUnicode"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
586 <h4>DocStyleChecker.__checkUnicode</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
587 <b>__checkUnicode</b>(<i>docstringContext, context</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
588 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
589 Private method to check, that all docstrings containing unicode
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
590 characters are surrounded by unicode triple double quotes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
591 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
592 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
593 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
594 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
595 </dd><dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
596 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
597 context of the docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
598 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
599 </dl><a NAME="DocStyleChecker.__error" ID="DocStyleChecker.__error"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
600 <h4>DocStyleChecker.__error</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
601 <b>__error</b>(<i>lineNumber, offset, code, *args</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
602 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
603 Private method to record an issue.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
604 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
605 <dt><i>lineNumber</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
606 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
607 line number of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
608 </dd><dt><i>offset</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
609 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
610 position within line of the issue (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
611 </dd><dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
612 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
613 message code (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
614 </dd><dt><i>args</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
615 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
616 arguments for the message (list)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
617 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
618 </dl><a NAME="DocStyleChecker.__getArgNames" ID="DocStyleChecker.__getArgNames"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
619 <h4>DocStyleChecker.__getArgNames</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
620 <b>__getArgNames</b>(<i>node</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
621 <a NAME="DocStyleChecker.__getSummaryLine" ID="DocStyleChecker.__getSummaryLine"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
622 <h4>DocStyleChecker.__getSummaryLine</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
623 <b>__getSummaryLine</b>(<i>docstringContext</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
624 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
625 Private method to extract the summary line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
626 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
627 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
628 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
629 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
630 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
631 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
632 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
633 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
634 summary line (string) and the line it was found on (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
635 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
636 </dl><a NAME="DocStyleChecker.__getSummaryLines" ID="DocStyleChecker.__getSummaryLines"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
637 <h4>DocStyleChecker.__getSummaryLines</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
638 <b>__getSummaryLines</b>(<i>docstringContext</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
639 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
640 Private method to extract the summary lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
641 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
642 <dt><i>docstringContext</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
643 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
644 docstring context (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
645 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
646 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
647 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
648 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
649 summary lines (list of string) and the line it was found on
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
650 (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
651 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
652 </dl><a NAME="DocStyleChecker.__ignoreCode" ID="DocStyleChecker.__ignoreCode"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
653 <h4>DocStyleChecker.__ignoreCode</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
654 <b>__ignoreCode</b>(<i>code</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
655 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
656 Private method to check if the error code should be ignored.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
657 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
658 <dt><i>code</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
659 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
660 message code to check for (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
661 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
662 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
663 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
664 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
665 flag indicating to ignore the given code (boolean)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
666 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
667 </dl><a NAME="DocStyleChecker.__parseClasses" ID="DocStyleChecker.__parseClasses"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
668 <h4>DocStyleChecker.__parseClasses</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
669 <b>__parseClasses</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
670 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
671 Private method to extract top-level classes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
672 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
673 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
674 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
675 extracted class contexts (list of DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
676 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
677 </dl><a NAME="DocStyleChecker.__parseContexts" ID="DocStyleChecker.__parseContexts"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
678 <h4>DocStyleChecker.__parseContexts</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
679 <b>__parseContexts</b>(<i>kind</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
680 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
681 Private method to extract a context from the source.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
682 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
683 <dt><i>kind</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
684 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
685 kind of context to extract (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
686 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
687 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
688 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
689 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
690 requested contexts (list of DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
691 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
692 </dl><a NAME="DocStyleChecker.__parseDocstring" ID="DocStyleChecker.__parseDocstring"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
693 <h4>DocStyleChecker.__parseDocstring</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
694 <b>__parseDocstring</b>(<i>context, what=''</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
695 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
696 Private method to extract a docstring given `def` or `class` source.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
697 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
698 <dt><i>context</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
699 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
700 context data to get the docstring from (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
701 </dd><dt><i>what</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
702 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
703 string denoting what is being parsed (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
704 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
705 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
706 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
707 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
708 context of extracted docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
709 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
710 </dl><a NAME="DocStyleChecker.__parseFunctions" ID="DocStyleChecker.__parseFunctions"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
711 <h4>DocStyleChecker.__parseFunctions</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
712 <b>__parseFunctions</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
713 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
714 Private method to extract top-level functions.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
715 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
716 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
717 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
718 extracted function contexts (list of DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
719 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
720 </dl><a NAME="DocStyleChecker.__parseMethods" ID="DocStyleChecker.__parseMethods"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
721 <h4>DocStyleChecker.__parseMethods</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
722 <b>__parseMethods</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
723 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
724 Private method to extract methods of all classes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
725 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
726 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
727 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
728 extracted method contexts (list of DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
729 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
730 </dl><a NAME="DocStyleChecker.__parseModuleDocstring" ID="DocStyleChecker.__parseModuleDocstring"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
731 <h4>DocStyleChecker.__parseModuleDocstring</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
732 <b>__parseModuleDocstring</b>(<i>source</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
733 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
734 Private method to extract a docstring given a module source.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
735 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
736 <dt><i>source</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
737 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
738 source to parse (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
739 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
740 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
741 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
742 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
743 context of extracted docstring (DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
744 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
745 </dl><a NAME="DocStyleChecker.__parseTopLevel" ID="DocStyleChecker.__parseTopLevel"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
746 <h4>DocStyleChecker.__parseTopLevel</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
747 <b>__parseTopLevel</b>(<i>keyword</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
748 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
749 Private method to extract top-level functions or classes.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
750 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
751 <dt><i>keyword</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
752 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
753 keyword signaling what to extract (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
754 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
755 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
756 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
757 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
758 extracted function or class contexts (list of DocStyleContext)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
759 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
760 </dl><a NAME="DocStyleChecker.__readline" ID="DocStyleChecker.__readline"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
761 <h4>DocStyleChecker.__readline</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
762 <b>__readline</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
763 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
764 Private method to get the next line from the source.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
765 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
766 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
767 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
768 next line of source (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
769 </dd>
3083
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
770 </dl><a NAME="DocStyleChecker.__reportInvalidSyntax" ID="DocStyleChecker.__reportInvalidSyntax"></a>
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
771 <h4>DocStyleChecker.__reportInvalidSyntax</h4>
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
772 <b>__reportInvalidSyntax</b>(<i></i>)
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
773 <p>
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
774 Private method to report a syntax error.
6382a74d9599 Guarded the doc style checker against files with invalid syntax.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 2985
diff changeset
775 </p><a NAME="DocStyleChecker.__resetReadline" ID="DocStyleChecker.__resetReadline"></a>
2985
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
776 <h4>DocStyleChecker.__resetReadline</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
777 <b>__resetReadline</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
778 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
779 Private method to reset the internal readline function.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
780 </p><a NAME="DocStyleChecker.__skipIndentedBlock" ID="DocStyleChecker.__skipIndentedBlock"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
781 <h4>DocStyleChecker.__skipIndentedBlock</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
782 <b>__skipIndentedBlock</b>(<i>tokenGenerator</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
783 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
784 Private method to skip over an indented block of source code.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
785 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
786 <dt><i>tokenGenerator</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
787 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
788 token generator
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
789 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
790 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
791 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
792 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
793 last token of the indented block
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
794 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
795 </dl><a NAME="DocStyleChecker.run" ID="DocStyleChecker.run"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
796 <h4>DocStyleChecker.run</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
797 <b>run</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
798 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
799 Public method to check the given source for violations of doc string
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
800 conventions.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
801 </p><a NAME="DocStyleChecker.unpackArgs" ID="DocStyleChecker.unpackArgs"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
802 <h4>DocStyleChecker.unpackArgs</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
803 <b>unpackArgs</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
804 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
805 Local helper function to unpack function argument names.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
806 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
807 <dt><i>args</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
808 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
809 list of AST node arguments
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
810 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
811 </dl><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
812 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
813 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
814 list of argument names (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
815 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
816 </dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
817 <div align="right"><a href="#top">Up</a></div>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
818 <hr /><hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
819 <a NAME="DocStyleContext" ID="DocStyleContext"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
820 <h2>DocStyleContext</h2>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
821 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
822 Class implementing the source context.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
823 </p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
824 <h3>Derived from</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
825 object
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
826 <h3>Class Attributes</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
827 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
828 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
829 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
830 <h3>Class Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
831 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
832 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
833 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
834 <h3>Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
835 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
836 <tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
837 <td><a href="#DocStyleContext.__init__">DocStyleContext</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
838 <td>Constructor</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
839 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
840 <td><a href="#DocStyleContext.contextType">contextType</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
841 <td>Public method to get the context type.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
842 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
843 <td><a href="#DocStyleContext.end">end</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
844 <td>Public method to get the end line number.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
845 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
846 <td><a href="#DocStyleContext.indent">indent</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
847 <td>Public method to get the indentation of the first line.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
848 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
849 <td><a href="#DocStyleContext.source">source</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
850 <td>Public method to get the source.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
851 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
852 <td><a href="#DocStyleContext.ssource">ssource</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
853 <td>Public method to get the joined source lines.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
854 </tr><tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
855 <td><a href="#DocStyleContext.start">start</a></td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
856 <td>Public method to get the start line number.</td>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
857 </tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
858 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
859 <h3>Static Methods</h3>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
860 <table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
861 <tr><td>None</td></tr>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
862 </table>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
863 <a NAME="DocStyleContext.__init__" ID="DocStyleContext.__init__"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
864 <h4>DocStyleContext (Constructor)</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
865 <b>DocStyleContext</b>(<i>source, startLine, contextType</i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
866 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
867 Constructor
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
868 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
869 <dt><i>source</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
870 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
871 source code of the context (list of string or string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
872 </dd><dt><i>startLine</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
873 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
874 line number the context starts in the source (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
875 </dd><dt><i>contextType</i></dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
876 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
877 type of the context object (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
878 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
879 </dl><a NAME="DocStyleContext.contextType" ID="DocStyleContext.contextType"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
880 <h4>DocStyleContext.contextType</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
881 <b>contextType</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
882 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
883 Public method to get the context type.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
884 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
885 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
886 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
887 context type (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
888 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
889 </dl><a NAME="DocStyleContext.end" ID="DocStyleContext.end"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
890 <h4>DocStyleContext.end</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
891 <b>end</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
892 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
893 Public method to get the end line number.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
894 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
895 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
896 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
897 end line number (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
898 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
899 </dl><a NAME="DocStyleContext.indent" ID="DocStyleContext.indent"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
900 <h4>DocStyleContext.indent</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
901 <b>indent</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
902 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
903 Public method to get the indentation of the first line.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
904 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
905 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
906 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
907 indentation string (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
908 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
909 </dl><a NAME="DocStyleContext.source" ID="DocStyleContext.source"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
910 <h4>DocStyleContext.source</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
911 <b>source</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
912 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
913 Public method to get the source.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
914 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
915 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
916 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
917 source (list of string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
918 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
919 </dl><a NAME="DocStyleContext.ssource" ID="DocStyleContext.ssource"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
920 <h4>DocStyleContext.ssource</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
921 <b>ssource</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
922 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
923 Public method to get the joined source lines.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
924 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
925 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
926 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
927 source (string)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
928 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
929 </dl><a NAME="DocStyleContext.start" ID="DocStyleContext.start"></a>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
930 <h4>DocStyleContext.start</h4>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
931 <b>start</b>(<i></i>)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
932 <p>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
933 Public method to get the start line number.
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
934 </p><dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
935 <dt>Returns:</dt>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
936 <dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
937 start line number (integer)
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
938 </dd>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
939 </dl>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
940 <div align="right"><a href="#top">Up</a></div>
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
941 <hr />
177b1858245f Finished changing the names of the various code style checkers to make them more appropriate to the broadened scope.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
942 </body></html>

eric ide

mercurial