parameters: (elided)
return_statement: return elided
docstring: Collapses strings and chars on a line to simple "" or '' blocks.
  
      We nix strings first so we're not fooled by text like '"http://"'
  
      Args:
        elided: The line being processed.
  
      Returns:
        The line with collapsed strings.
docstring_summary: Collapses strings and chars on a line to simple "" or '' blocks.
docstring_tokens: Collapses strings and chars on a line to simple or blocks .
function: def _CollapseStrings(elided):
      """Collapses strings and chars on a line to simple "" or '' blocks.
  
      We nix strings first so we're not fooled by text like '"http://"'
  
      Args:
        elided: The line being processed.
  
      Returns:
        The line with collapsed strings.
      """
      if not _RE_PATTERN_INCLUDE.match(elided):
        # Remove escaped characters first to make quote/single quote collapsing
        # basic.  Things that look like escaped characters shouldn't occur
        # outside of strings and chars.
        elided = _RE_PATTERN_CLEANSE_LINE_ESCAPES.sub('', elided)
        elided = _RE_PATTERN_CLEANSE_LINE_SINGLE_QUOTES.sub("''", elided)
        elided = _RE_PATTERN_CLEANSE_LINE_DOUBLE_QUOTES.sub('""', elided)
      return elided
function_tokens: def _CollapseStrings ( elided ) : if not _RE_PATTERN_INCLUDE . match ( elided ) : # Remove escaped characters first to make quote/single quote collapsing # basic.  Things that look like escaped characters shouldn't occur # outside of strings and chars. elided = _RE_PATTERN_CLEANSE_LINE_ESCAPES . sub ( '' , elided ) elided = _RE_PATTERN_CLEANSE_LINE_SINGLE_QUOTES . sub ( "''" , elided ) elided = _RE_PATTERN_CLEANSE_LINE_DOUBLE_QUOTES . sub ( '""' , elided ) return elided