absyntax_utils/get_datatype_info.hh
changeset 778 44e02a88f1e7
parent 727 db5881e6facd
child 909 8b2a31dea131
equal deleted inserted replaced
777:e74a882c8d22 778:44e02a88f1e7
    55      get_datatype_info_c(void) {};
    55      get_datatype_info_c(void) {};
    56     ~get_datatype_info_c(void) {};
    56     ~get_datatype_info_c(void) {};
    57 
    57 
    58   
    58   
    59   public:
    59   public:
    60     static symbol_c *get_datatype_id(symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! */
    60     static symbol_c   *get_id    (symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! Does not work for elementary datatypes!*/
       
    61     static const char *get_id_str(symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! */
    61       
    62       
    62     static bool is_type_equal(symbol_c *first_type, symbol_c *second_type);
    63     static bool is_type_equal(symbol_c *first_type, symbol_c *second_type);
    63     static bool is_type_valid(symbol_c *type);
    64     static bool is_type_valid(symbol_c *type);
    64       
    65       
    65     static bool is_ANY_REAL_literal(symbol_c *type_symbol); /* Can't we do away with this?? */
    66     static bool is_ANY_REAL_literal(symbol_c *type_symbol); /* Can't we do away with this?? */