parameters: (token_class)
return_statement: return callback
docstring: Process indentation spaces in a plain scalar.
docstring_summary: Process indentation spaces in a plain scalar.
docstring_tokens: Process indentation spaces in a plain scalar .
function: def parse_plain_scalar_indent(token_class):
          """Process indentation spaces in a plain scalar."""
          def callback(lexer, match, context):
              text = match.group()
              if len(text) <= context.indent:
                  context.stack.pop()
                  context.stack.pop()
                  return
              if text:
                  yield match.start(), token_class, text
                  context.pos = match.end()
          return callback
function_tokens: def parse_plain_scalar_indent ( token_class ) : def callback ( lexer , match , context ) : text = match . group ( ) if len ( text ) <= context . indent : context . stack . pop ( ) context . stack . pop ( ) return if text : yield match . start ( ) , token_class , text context . pos = match . end ( ) return callback