|
SPRAAK
|
Represents a parsed python file. More...
Inheritance diagram for spr_pydoc_filter.ModuleInfo:
Collaboration diagram for spr_pydoc_filter.ModuleInfo:Public Member Functions | |
| def | __init__ (self, fname) |
| Constructor. More... | |
| def | getFileName (self) |
| Return the name of the parsed file. More... | |
| def | getName (self) |
| Return the name of the module. More... | |
| def | getFunctions (self) |
| Returns a list of all functions defined at the top level of the parse tree. More... | |
| def | getClasses (self) |
| Returns a list of all classes defined at the top level of the parse tree. More... | |
| def | getComments (self) |
| Returns a list of all comment lines found in the source code. More... | |
Represents a parsed python file.
| def spr_pydoc_filter.ModuleInfo.__init__ | ( | self, | |
| fname | |||
| ) |
Constructor.
| self | The callee object. |
| fname | The name of the file to parse. |
| def spr_pydoc_filter.ModuleInfo.getFileName | ( | self | ) |
Return the name of the parsed file.
| self | The callee object. |
| def spr_pydoc_filter.ModuleInfo.getName | ( | self | ) |
Return the name of the module.
| self | The callee object. |
| def spr_pydoc_filter.ModuleInfo.getFunctions | ( | self | ) |
Returns a list of all functions defined at the top level of the parse tree.
| self | The callee object. |
| def spr_pydoc_filter.ModuleInfo.getClasses | ( | self | ) |
Returns a list of all classes defined at the top level of the parse tree.
| self | The callee object. |
| def spr_pydoc_filter.ModuleInfo.getComments | ( | self | ) |
Returns a list of all comment lines found in the source code.
| self | The callee object. |
1.8.12