(self, other)
return full_name
Returns the class name for this object relative to another.

    This property can only be used during template expansion.

    Args:
      other: (CodeObject) Another code object which might be a parent.
    Returns:
      (str) The class name of this object relative to another.
Returns the class name for this object relative to another.
Returns the class name for this object relative to another .
def RelativeClassName(self, other):
    """Returns the class name for this object relative to another.

    This property can only be used during template expansion.

    Args:
      other: (CodeObject) Another code object which might be a parent.
    Returns:
      (str) The class name of this object relative to another.
    """
    if self == other:
      return ''
    full_name = ''
    if self.parent:
      full_name = self.parent.RelativeClassName(other)
    if full_name:
      language_model = self.language_model
      if language_model:
        class_name_delimiter = language_model.class_name_delimiter
      full_name += class_name_delimiter
    full_name += (self.values.get('className')
                  or self.values.get('codeName')
                  or self.values.get('name', ''))
    return full_name
def RelativeClassName ( self , other ) : if self == other : return '' full_name = '' if self . parent : full_name = self . parent . RelativeClassName ( other ) if full_name : language_model = self . language_model if language_model : class_name_delimiter = language_model . class_name_delimiter full_name += class_name_delimiter full_name += ( self . values . get ( 'className' ) or self . values . get ( 'codeName' ) or self . values . get ( 'name' , '' ) ) return full_name