absyntax/absyntax.hh
changeset 1000 556b74055518
parent 983 ead554e12195
child 1041 56ebe2a31b5b
equal deleted inserted replaced
999:dd50a82ae8da 1000:556b74055518
   146     ~const_value_c(void) {};
   146     ~const_value_c(void) {};
   147     
   147     
   148     /* comparison operator */
   148     /* comparison operator */
   149     bool operator==(const const_value_c cv)
   149     bool operator==(const const_value_c cv)
   150       {return ((_int64==cv._int64) && (_uint64==cv._uint64) && (_real64==cv._real64) && (_bool==cv._bool));}                                                     
   150       {return ((_int64==cv._int64) && (_uint64==cv._uint64) && (_real64==cv._real64) && (_bool==cv._bool));}                                                     
       
   151       
       
   152     /* return true if at least one of the const values (int, real, ...) is a valid const value */
       
   153     bool is_const(void) 
       
   154       {return (_int64.is_valid() || _uint64.is_valid() || _real64.is_valid() || _bool.is_valid());}   
   151 };
   155 };
   152 
   156 
   153 
   157 
   154 
   158 
   155 /* The base class of all symbols */
   159 /* The base class of all symbols */