eric6/Utilities/ClassBrowsers/pyclbr.py

changeset 8207
d359172d11be
parent 8205
4a0f1f896341
child 8217
385f60c94548
equal deleted inserted replaced
8206:adf11836cfce 8207:d359172d11be
213 """ 213 """
214 ClbrBaseClasses.Attribute.__init__(self, module, name, file, lineno) 214 ClbrBaseClasses.Attribute.__init__(self, module, name, file, lineno)
215 VisibilityMixin.__init__(self) 215 VisibilityMixin.__init__(self)
216 216
217 217
218 class Publics(object): 218 class Publics:
219 """ 219 """
220 Class to represent the list of public identifiers. 220 Class to represent the list of public identifiers.
221 """ 221 """
222 def __init__(self, module, file, lineno, idents): 222 def __init__(self, module, file, lineno, idents):
223 """ 223 """
234 self.lineno = lineno 234 self.lineno = lineno
235 self.identifiers = [e.replace('"', '').replace("'", "").strip() 235 self.identifiers = [e.replace('"', '').replace("'", "").strip()
236 for e in idents.split(',')] 236 for e in idents.split(',')]
237 237
238 238
239 class Imports(object): 239 class Imports:
240 """ 240 """
241 Class to represent the list of imported modules. 241 Class to represent the list of imported modules.
242 """ 242 """
243 def __init__(self, module, file): 243 def __init__(self, module, file):
244 """ 244 """
287 of line numbers of imports as value 287 of line numbers of imports as value
288 """ 288 """
289 return self.imports 289 return self.imports
290 290
291 291
292 class ImportedModule(object): 292 class ImportedModule:
293 """ 293 """
294 Class to represent an imported module. 294 Class to represent an imported module.
295 """ 295 """
296 def __init__(self, module, file, importedModule): 296 def __init__(self, module, file, importedModule):
297 """ 297 """

eric ide

mercurial