class_docstr: Highlight special code tags in comments and docstrings.
  
  Options accepted:
  
  `codetags` : list of strings
     A list of strings that are flagged as code tags.  The default is to
     highlight ``XXX``, ``TODO``, ``BUG`` and ``NOTE``.
class_docstr_tok: ["Highlight","special","code","tags","in","comments","and","docstrings",".","Options","accepted",":","`","codetags","`",":","list","of","strings","A","list","of","strings","that","are","flagged","as","code","tags",".","The","default","is","to","highlight","``","XXX","``",",","``","TODO","``",",","``","BUG","``","and","``","NOTE","``","."]
code: def filter(self, lexer, stream):
      regex = self.tag_re
      for ttype, value in stream:
          if (
              ttype in String.Doc
              or ttype in Comment
              and ttype not in Comment.Preproc
          ):
              for sttype, svalue in _replace_special(
                  ttype, value, regex, Comment.Special
              ):
                  yield sttype, svalue
          else:
              yield ttype, value
  
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 2 for calling the CodeTagFilter obj's underlying member method code with example usage: obj.filter(lexer, stream) without return types