parameters: (self, until_line)
return_statement: return self._active_parser.parse(tokens=tokens)
docstring: Sets up a normal parser that uses a spezialized tokenizer to only parse
          until a certain position (or a bit longer if the statement hasn't
          ended.
docstring_summary: Sets up a normal parser that uses a spezialized tokenizer to only parse
          until a certain position (or a bit longer if the statement hasn't
          ended.
docstring_tokens: Sets up a normal parser that uses a spezialized tokenizer to only parse until a certain position ( or a bit longer if the statement hasn t ended .
function: def _try_parse_part(self, until_line):
          """
          Sets up a normal parser that uses a spezialized tokenizer to only parse
          until a certain position (or a bit longer if the statement hasn't
          ended.
          """
          self._parser_count += 1
          # TODO speed up, shouldn't copy the whole list all the time.
          # memoryview?
          parsed_until_line = self._nodes_stack.parsed_until_line
          lines_after = self._parser_lines_new[parsed_until_line:]
          #print('parse_content', parsed_until_line, lines_after, until_line)
          tokens = self._diff_tokenize(
              lines_after,
              until_line,
              line_offset=parsed_until_line
          )
          self._active_parser = Parser(
              self._pgen_grammar,
              error_recovery=True
          )
          return self._active_parser.parse(tokens=tokens)
function_tokens: def _try_parse_part ( self , until_line ) : self . _parser_count += 1 # TODO speed up, shouldn't copy the whole list all the time. # memoryview? parsed_until_line = self . _nodes_stack . parsed_until_line lines_after = self . _parser_lines_new [ parsed_until_line : ] #print('parse_content', parsed_until_line, lines_after, until_line) tokens = self . _diff_tokenize ( lines_after , until_line , line_offset = parsed_until_line ) self . _active_parser = Parser ( self . _pgen_grammar , error_recovery = True ) return self . _active_parser . parse ( tokens = tokens )