def METHOD_NAME(self, node):
    """
    Visits a single data type meta_model node and updates, checks correctness and updates its type symbol.
    This visitor can also be used to derive the original name of the unit.
    :param node: a single datatype node.
    :type node: ast_data_type
    """
    if node.is_integer:
        self.symbol = PredefinedTypes.get_integer_type()
        node.set_type_symbol(self.symbol)
    elif node.is_real:
        self.symbol = PredefinedTypes.get_real_type()
        node.set_type_symbol(self.symbol)
    elif node.is_string:
        self.symbol = PredefinedTypes.get_string_type()
        node.set_type_symbol(self.symbol)
    elif node.is_boolean:
        self.symbol = PredefinedTypes.get_boolean_type()
        node.set_type_symbol(self.symbol)
    elif node.is_void:
        self.symbol = PredefinedTypes.get_void_type()
        node.set_type_symbol(self.symbol)