@classmethod<EOL><INDENT>def inherited_labels(cls):<DEDENT>
return [scls.__label__ for scls in cls.mro()<EOL>if hasattr(scls, '<STR_LIT>') and not hasattr(<EOL>scls, '<STR_LIT>')]<EOL>
Return list of labels from nodes class hierarchy.

:return: list