parameters: (self, data)
docstring: Given an input string, this function splits it into lines.  Trailing whitespace
          is removed.   Any line ending with \ is grouped with the next line.  This
          function forms the lowest level of the preprocessor---grouping into text into
          a line-by-line format.
docstring_summary: Given an input string, this function splits it into lines.  Trailing whitespace
          is removed.   Any line ending with \ is grouped with the next line.  This
          function forms the lowest level of the preprocessor---grouping into text into
          a line-by-line format.
docstring_tokens: Given an input string this function splits it into lines . Trailing whitespace is removed . Any line ending with \ is grouped with the next line . This function forms the lowest level of the preprocessor --- grouping into text into a line - by - line format .
function: def _group_lines(self, data):
          """Given an input string, this function splits it into lines.  Trailing whitespace
          is removed.   Any line ending with \ is grouped with the next line.  This
          function forms the lowest level of the preprocessor---grouping into text into
          a line-by-line format.
  
          """
          lex = self.lexer.clone()
          lines = [x.rstrip() for x in data.splitlines()]
          for i in range(len(lines)):
              j = i + 1
              while lines[i].endswith('\\') and (j < len(lines)):
                  lines[i] = lines[i][:-1]+lines[j]
                  lines[j] = ""
                  j += 1
  
          data = "\n".join(lines)
          lex.input(data)
          lex.lineno = 1
  
          current_line = []
          while True:
              tok = lex.token()
              if not tok:
                  break
              current_line.append(tok)
              if tok.type in self.t_WS and '\n' in tok.value:
                  yield current_line
                  current_line = []
  
          if current_line:
              yield current_line
function_tokens: def _group_lines ( self , data ) : lex = self . lexer . clone ( ) lines = [ x . rstrip ( ) for x in data . splitlines ( ) ] for i in range ( len ( lines ) ) : j = i + 1 while lines [ i ] . endswith ( '\\' ) and ( j < len ( lines ) ) : lines [ i ] = lines [ i ] [ : - 1 ] + lines [ j ] lines [ j ] = "" j += 1 data = "\n" . join ( lines ) lex . input ( data ) lex . lineno = 1 current_line = [ ] while True : tok = lex . token ( ) if not tok : break current_line . append ( tok ) if tok . type in self . t_WS and '\n' in tok . value : yield current_line current_line = [ ] if current_line : yield current_line