class_docstr: Merges consecutive tokens with the same token type in the output
  stream of a lexer.
  
  .. versionadded:: 1.2
class_docstr_tok: ["Merges","consecutive","tokens","with","the","same","token","type","in","the","output","stream","of","a","lexer",".","..","versionadded",":",":","1.2"]
code: def __init__(self, **options):
      Filter.__init__(self, **options)
  
imports: import re
  from pygments.token import String, Comment, Keyword, Name, Error, Whitespace, string_to_tokentype
  from pygments.filter import Filter
  from pygments.util import get_list_opt, get_int_opt, get_bool_opt, get_choice_opt, ClassNotFound, OptionError, text_type, string_types
  from pygments.plugin import find_plugin_filters
label_desc: Use image node_id 1 to create a new TokenMergeFilter object from inherited base classes: Filter with example: obj = TokenMergeFilter()