parameters: (self)
return_statement: return None
docstring: Get class info on the top of the stack.
  
      Returns:
        A _ClassInfo object if we are inside a class, or None otherwise.
docstring_summary: Get class info on the top of the stack.
docstring_tokens: Get class info on the top of the stack .
function: def InnermostClass(self):
      """Get class info on the top of the stack.
  
      Returns:
        A _ClassInfo object if we are inside a class, or None otherwise.
      """
      for i in range(len(self.stack), 0, -1):
        classinfo = self.stack[i - 1]
        if isinstance(classinfo, _ClassInfo):
          return classinfo
      return None
function_tokens: def InnermostClass ( self ) : for i in range ( len ( self . stack ) , 0 , - 1 ) : classinfo = self . stack [ i - 1 ] if isinstance ( classinfo , _ClassInfo ) : return classinfo return None