eric6/Utilities/ModuleParser.py

changeset 7628
f904d0eef264
parent 7585
749c6871f4ef
child 7635
0cdead130a81
equal deleted inserted replaced
7626:7f643d41464e 7628:f904d0eef264
838 838
839 elif m.start("Comment") >= 0: 839 elif m.start("Comment") >= 0:
840 if modulelevel: 840 if modulelevel:
841 continue 841 continue
842 842
843 else:
844 assert 0, "regexp _getnext found something unexpected"
845
846 modulelevel = False 843 modulelevel = False
847 844
848 def __rb_scan(self, src): 845 def __rb_scan(self, src):
849 """ 846 """
850 Private method to scan the source text of a Python module and retrieve 847 Private method to scan the source text of a Python module and retrieve
1187 else: 1184 else:
1188 indent = 0 1185 indent = 0
1189 1186
1190 elif m.start("BeginEnd") >= 0: 1187 elif m.start("BeginEnd") >= 0:
1191 pass 1188 pass
1192
1193 else:
1194 assert 0, "regexp _getnext found something unexpected"
1195 1189
1196 def createHierarchy(self): 1190 def createHierarchy(self):
1197 """ 1191 """
1198 Public method to build the inheritance hierarchy for all classes of 1192 Public method to build the inheritance hierarchy for all classes of
1199 this module. 1193 this module.

eric ide

mercurial