stage3/visit_expression_type.hh
changeset 390 9cf96d45853d
parent 360 f4ce1b1c2112
child 399 55b074ea7255
equal deleted inserted replaced
389:94b67e38188a 390:9cf96d45853d
   134     
   134     
   135     bool is_nonneg_literal_integer_type (symbol_c *type_symbol);
   135     bool is_nonneg_literal_integer_type (symbol_c *type_symbol);
   136     bool is_literal_integer_type        (symbol_c *type_symbol);
   136     bool is_literal_integer_type        (symbol_c *type_symbol);
   137     bool is_literal_real_type           (symbol_c *type_symbol);
   137     bool is_literal_real_type           (symbol_c *type_symbol);
   138     bool is_literal_bool_type           (symbol_c *type_symbol);
   138     bool is_literal_bool_type           (symbol_c *type_symbol);
       
   139 
       
   140     bool is_ANY_ELEMENTARY_OR_ENUMERATED_compatible (symbol_c *type_symbol);
   139 
   141 
   140     /* Determine the common data type between two data types.
   142     /* Determine the common data type between two data types.
   141      * If no common data type found, return NULL.
   143      * If no common data type found, return NULL.
   142      *
   144      *
   143      * If data types are identical, return the first (any would do...).
   145      * If data types are identical, return the first (any would do...).