def METHOD_NAME(self, node):
    if node.is_unit_type() and node.get_unit_type().get_type_symbol() is not None:
        node.set_type_symbol(node.get_unit_type().get_type_symbol())
    if self.symbol is not None:
        self.result = self.symbol.get_symbol_name()
    else:
        code, message = Messages.astdatatype_type_symbol_could_not_be_derived()
        Logger.log_message(None, code, message, node.get_source_position(), LoggingLevel.ERROR)
        return