code: def t_ignore_INDENT(self, t):
          r'\n\s*'
  
          indent_status, curr_depth, next_depth = self.get_indent_status(t)
  
          if indent_status == 'NODENT':
              return
  
          if indent_status == 'INDENT':
              # note: also set by
              #   * t_B_SEQUENCE_COMPACT_START
              #   * t_B_MAP_COMPACT_KEY
              #   * t_B_MAP_COMPACT_VALUE
              self.indent_stack.append(next_depth)
  
          if indent_status == 'DEDENT':
              indent_delta = curr_depth - next_depth
              step = self.indent_stack.pop() - self.indent_stack[-1]
  
              # If dedent is larger then last indent
              if indent_delta > step:
                  # Go back and reevaluate this token.
                  rollback_lexpos(t)
  
          t.type = indent_status
          return f t_ignore_INDENT(self, t):
          r'\n\s*'
  
          indent_status, curr_depth, next_depth = self.get_indent_status(t)
  
          if indent_status == 'NODENT':
              return
  
          if indent_status == 'INDENT':
              # note: also set by
              #   * t_B_SEQUENCE_COMPACT_START
              #   * t_B_MAP_COMPACT_KEY
              #   * t_B_MAP_COMPACT_VALUE
              self.indent_stack.append(next_depth)
  
          if indent_status == 'DEDENT':
              indent_delta = curr_depth - next_depth
              step = self.indent_stack.pop() - self.indent_stack[-1]
  
              # If dedent is larger then last indent
              if indent_delta > step:
                  # Go back and reevaluate this token.
                  rollback_lexpos(t)
  
          t.type = indent_status
          return t
docs: r'\n\s*