def insert( self, index, insStr ):
self.__toklist.insert(index, insStr)<EOL>for name in self.__tokdict:<EOL><INDENT>occurrences = self.__tokdict[name]<EOL>for k, (value, position) in enumerate(occurrences):<EOL><INDENT>occurrences[k] = _ParseResultsWithOffset(value, position + (position > index))<EOL><DEDENT><DEDENT>
Inserts new element at location index in the list of parsed tokens.