src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html

branch
eric7
changeset 10996
a3dc181d14e1
parent 10479
856476537696
equal deleted inserted replaced
10995:f94a27bbf6c4 10996:a3dc181d14e1
70 <tr> 70 <tr>
71 <td><a href="#SecurityNodeVisitor.__visitFunctionDefinition">__visitFunctionDefinition</a></td> 71 <td><a href="#SecurityNodeVisitor.__visitFunctionDefinition">__visitFunctionDefinition</a></td>
72 <td>Private method defining a visitor for AST FunctionDef and AsyncFunctionDef nodes.</td> 72 <td>Private method defining a visitor for AST FunctionDef and AsyncFunctionDef nodes.</td>
73 </tr> 73 </tr>
74 <tr> 74 <tr>
75 <td><a href="#SecurityNodeVisitor.checkFile">checkFile</a></td>
76 <td>Public method to run File type checks, that don't operate on the AST.</td>
77 </tr>
78 <tr>
75 <td><a href="#SecurityNodeVisitor.generic_visit">generic_visit</a></td> 79 <td><a href="#SecurityNodeVisitor.generic_visit">generic_visit</a></td>
76 <td>Public method to drive the node visitor.</td> 80 <td>Public method to drive the node visitor.</td>
77 </tr> 81 </tr>
78 <tr> 82 <tr>
79 <td><a href="#SecurityNodeVisitor.visit">visit</a></td> 83 <td><a href="#SecurityNodeVisitor.visit">visit</a></td>
115 </table> 119 </table>
116 120
117 121
118 <a NAME="SecurityNodeVisitor.__init__" ID="SecurityNodeVisitor.__init__"></a> 122 <a NAME="SecurityNodeVisitor.__init__" ID="SecurityNodeVisitor.__init__"></a>
119 <h4>SecurityNodeVisitor (Constructor)</h4> 123 <h4>SecurityNodeVisitor (Constructor)</h4>
120 <b>SecurityNodeVisitor</b>(<i>checker, secCheckers, filename</i>) 124 <b>SecurityNodeVisitor</b>(<i>checker, secCheckers, filename, fileData</i>)
121 <p> 125 <p>
122 Constructor 126 Constructor
123 </p> 127 </p>
124 128
125 <dl> 129 <dl>
133 dictionary containing the available checker routines 137 dictionary containing the available checker routines
134 </dd> 138 </dd>
135 <dt><i>filename</i> (str)</dt> 139 <dt><i>filename</i> (str)</dt>
136 <dd> 140 <dd>
137 name of the checked file 141 name of the checked file
142 </dd>
143 <dt><i>fileData</i> (str)</dt>
144 <dd>
145 contents of the checked file
138 </dd> 146 </dd>
139 </dl> 147 </dl>
140 <a NAME="SecurityNodeVisitor.__postVisit" ID="SecurityNodeVisitor.__postVisit"></a> 148 <a NAME="SecurityNodeVisitor.__postVisit" ID="SecurityNodeVisitor.__postVisit"></a>
141 <h4>SecurityNodeVisitor.__postVisit</h4> 149 <h4>SecurityNodeVisitor.__postVisit</h4>
142 <b>__postVisit</b>(<i>node</i>) 150 <b>__postVisit</b>(<i>node</i>)
209 <dt><i>node</i> (ast.FunctionDef, ast.AsyncFunctionDef)</dt> 217 <dt><i>node</i> (ast.FunctionDef, ast.AsyncFunctionDef)</dt>
210 <dd> 218 <dd>
211 reference to the node being inspected 219 reference to the node being inspected
212 </dd> 220 </dd>
213 </dl> 221 </dl>
222 <a NAME="SecurityNodeVisitor.checkFile" ID="SecurityNodeVisitor.checkFile"></a>
223 <h4>SecurityNodeVisitor.checkFile</h4>
224 <b>checkFile</b>(<i></i>)
225 <p>
226 Public method to run File type checks, that don't operate on the AST.
227 </p>
228
214 <a NAME="SecurityNodeVisitor.generic_visit" ID="SecurityNodeVisitor.generic_visit"></a> 229 <a NAME="SecurityNodeVisitor.generic_visit" ID="SecurityNodeVisitor.generic_visit"></a>
215 <h4>SecurityNodeVisitor.generic_visit</h4> 230 <h4>SecurityNodeVisitor.generic_visit</h4>
216 <b>generic_visit</b>(<i>node</i>) 231 <b>generic_visit</b>(<i>node</i>)
217 <p> 232 <p>
218 Public method to drive the node visitor. 233 Public method to drive the node visitor.

eric ide

mercurial