class documentation
class VariableCommentPicker(ast.NodeVisitor): (source)
Python source code parser to pick up variable comments.
Method | __init__ |
Undocumented |
Method | add |
Undocumented |
Method | add |
Undocumented |
Method | add |
Undocumented |
Method | add |
Undocumented |
Method | add |
Undocumented |
Method | get |
Returns specified line. |
Method | get |
Get qualified name for given object as a list of string(s). |
Method | get |
Returns the name of the first argument if in a function. |
Method | is |
Undocumented |
Method | is |
Undocumented |
Method | visit |
Updates self.previous to the given node. |
Method | visit_ |
Handles AnnAssign node and pick up a variable comment. |
Method | visit_ |
Handles Assign node and pick up a variable comment. |
Method | visit_ |
Handles AsyncFunctionDef node and set context. |
Method | visit_ |
Handles ClassDef node and set context. |
Method | visit_ |
Handles Expr node and pick up a comment if string. |
Method | visit_ |
Handles FunctionDef node and set context. |
Method | visit_ |
Handles Import node and record the order of definitions. |
Method | visit_ |
Handles Import node and record the order of definitions. |
Method | visit_ |
Handles Try node and processes body and else-clause. |
Instance Variable | annotations |
Undocumented |
Instance Variable | buffers |
Undocumented |
Instance Variable | comments |
Undocumented |
Instance Variable | context |
Undocumented |
Instance Variable | counter |
Undocumented |
Instance Variable | current |
Undocumented |
Instance Variable | current |
Undocumented |
Instance Variable | deforders |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | finals |
Undocumented |
Instance Variable | overloads |
Undocumented |
Instance Variable | previous |
Undocumented |
Instance Variable | typing |
Undocumented |
Instance Variable | typing |
Undocumented |
Instance Variable | typing |
Undocumented |
Handles Try node and processes body and else-clause. .. note:: pycode parser ignores objects definition in except-clause.
Parameters | |
node:ast.Try | Undocumented |