class_docstr: Lexer for `YAML <http://yaml.org/>`_, a human-friendly data serialization
  language.
  
  .. versionadded:: 0.11
docstr: Reset the indentation levels.
docstr_tok: ["Reset","the","indentation","levels","."]
code: def reset_indent(token_class):
      """Reset the indentation levels."""
  
      def callback(lexer, match, context):
          text = match.group()
          context.indent_stack = []
          context.indent = -1
          context.next_indent = 0
          context.block_scalar_indent = None
          yield match.start(), token_class, text
          context.pos = match.end()
  
      return callback
  
imports: import re
  from pygments.lexer import RegexLexer, ExtendedRegexLexer, LexerContext, include, bygroups, inherit
  from pygments.token import Text, Comment, Keyword, Name, String, Number, Punctuation, Literal, Error
label_desc: Use image node_id 2 for calling the YamlLexer obj's underlying member method code with example usage: obj.reset_indent(token_class) and returns: callback