705 end = line - 1, char |
705 end = line - 1, char |
706 startLine = classContext.start() + start[0] |
706 startLine = classContext.start() + start[0] |
707 endLine = classContext.start() + end[0] |
707 endLine = classContext.start() + end[0] |
708 contexts.append(DocStyleContext( |
708 contexts.append(DocStyleContext( |
709 self.__source[startLine:endLine], |
709 self.__source[startLine:endLine], |
710 startLine, "def")) |
710 startLine, "def")) |
711 except StopIteration: |
711 except StopIteration: |
712 pass |
712 pass |
713 self.__methodsCache = contexts |
713 self.__methodsCache = contexts |
714 |
714 |
715 return self.__methodsCache |
715 return self.__methodsCache |