absyntax_utils/search_base_type.hh
changeset 945 477393b00f95
parent 921 d228aaa4d616
child 958 7474d2cd1d6e
equal deleted inserted replaced
943:566414d7ba1f 945:477393b00f95
    72     symbol_c *current_equivtype;
    72     symbol_c *current_equivtype;
    73     static search_base_type_c *search_base_type_singleton; // Make this a singleton class!
    73     static search_base_type_c *search_base_type_singleton; // Make this a singleton class!
    74     
    74     
    75   private:  
    75   private:  
    76     static void create_singleton(void);
    76     static void create_singleton(void);
       
    77     void *handle_datatype_identifier(token_c *type_name);
    77 
    78 
    78   public:
    79   public:
    79     search_base_type_c(void);
    80     search_base_type_c(void);
    80     static symbol_c *get_equivtype_decl(symbol_c *symbol);  /* get the Equivalent Type declaration */
    81     static symbol_c *get_equivtype_decl(symbol_c *symbol);  /* get the Equivalent Type declaration */
    81     static symbol_c *get_basetype_decl (symbol_c *symbol);  /* get the Base       Type declaration */
    82     static symbol_c *get_basetype_decl (symbol_c *symbol);  /* get the Base       Type declaration */
    86   /* B.1 - Common elements */
    87   /* B.1 - Common elements */
    87   /*************************/
    88   /*************************/
    88   /*******************************************/
    89   /*******************************************/
    89   /* B 1.1 - Letters, digits and identifiers */
    90   /* B 1.1 - Letters, digits and identifiers */
    90   /*******************************************/
    91   /*******************************************/
    91     void *visit(identifier_c *type_name);
    92     void *visit(                 identifier_c *type_name);
    92 
    93     void *visit(derived_datatype_identifier_c *type_name);
    93     
    94     
    94   /*********************/
    95   /*********************/
    95   /* B 1.2 - Constants */
    96   /* B 1.2 - Constants */
    96   /*********************/
    97   /*********************/
    97   /******************************/
    98   /******************************/