Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py

changeset 3022
57179e4cdadd
parent 3004
c4bf32c791d0
child 3036
30c81c9e88b8
child 3058
0a02c433f52d
equal deleted inserted replaced
3021:801289962f4e 3022:57179e4cdadd
703 kind, value, (line, char), _, _ = \ 703 kind, value, (line, char), _, _ = \
704 self.__skipIndentedBlock(tokenGenerator) 704 self.__skipIndentedBlock(tokenGenerator)
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( 708 contexts.append(DocStyleContext(
709 DocStyleContext(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

eric ide

mercurial