def get_scope_path(cls, scope_separator="::"):
        """
        Generate a string that represents this enum's declaration namespace
        scope.

        Parameters
        ----------
        scope_separator: str
            Override the separator between namespace scopes
        """
        if cls.get_parent_scope() is None:
            return ""
        elif isinstance(cls.get_parent_scope(), comp.Root):
            return ""
        else:
            parent_path = cls.get_parent_scope().get_scope_path(scope_separator)
            if parent_path:
                return(
                    parent_path
                    + scope_separator
                    + cls.get_parent_scope().type_name
                )
            else:
                return cls.get_parent_scope().type_name
def get_scope_path ( cls , scope_separator = "::" ) : if cls . get_parent_scope ( ) is None : return "" elif isinstance ( cls . get_parent_scope ( ) , comp . Root ) : return "" else : parent_path = cls . get_parent_scope ( ) . get_scope_path ( scope_separator ) if parent_path : return ( parent_path + scope_separator + cls . get_parent_scope ( ) . type_name ) else : return cls . get_parent_scope ( ) . type_name
Generate a string that represents this enum's declaration namespace
        scope.

        Parameters
        ----------
        scope_separator: str
            Override the separator between namespace scopes