277 self.__project, source, offset, resource, maxfixes=maxfixes) |
277 self.__project, source, offset, resource, maxfixes=maxfixes) |
278 except Exception as err: |
278 except Exception as err: |
279 errorDict = self.__handleRopeError(err) |
279 errorDict = self.__handleRopeError(err) |
280 |
280 |
281 typeName = self.__getObjectTypeAndName( |
281 typeName = self.__getObjectTypeAndName( |
282 self.__project, source, offset, resource, maxfixes=maxfixes) |
282 self.__project, source, offset, resource, maxfixes=maxfixes) |
283 |
283 |
284 documentationDict = self.__processDocumentation(cts, documentation, |
284 documentationDict = self.__processDocumentation(cts, documentation, |
285 typeName) |
285 typeName) |
286 result = { |
286 result = { |
287 "DocumentationDict": documentationDict, |
287 "DocumentationDict": documentationDict, |
348 @type int |
348 @type int |
349 @param resource reference to the rope resource object |
349 @param resource reference to the rope resource object |
350 @type rope.base.resources.Resource |
350 @type rope.base.resources.Resource |
351 @param maxfixes number of fixes to be done |
351 @param maxfixes number of fixes to be done |
352 @type int |
352 @type int |
|
353 @return tuple containing the object type and name |
|
354 @rtype tuple of (str, str) |
353 """ |
355 """ |
354 from rope.base import pyobjects, pyobjectsdef, pynames |
356 from rope.base import pyobjects, pyobjectsdef, pynames |
355 from rope.contrib import fixsyntax |
357 from rope.contrib import fixsyntax |
356 |
358 |
357 try: |
359 try: |