absyntax_utils/search_constant_type.cc
changeset 547 dab341e80664
parent 495 8c6823fee086
child 596 4efb11e44065
equal deleted inserted replaced
546:8cc4c51c4bfc 547:dab341e80664
   103 /* B 1.2.3.1 - Duration */
   103 /* B 1.2.3.1 - Duration */
   104 /************************/
   104 /************************/
   105 void *search_constant_type_c::visit(neg_time_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
   105 void *search_constant_type_c::visit(neg_time_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
   106 void *search_constant_type_c::visit(duration_c *symbol) {return (void *)(symbol->type_name);}
   106 void *search_constant_type_c::visit(duration_c *symbol) {return (void *)(symbol->type_name);}
   107 void *search_constant_type_c::visit(fixed_point_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
   107 void *search_constant_type_c::visit(fixed_point_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
   108 void *search_constant_type_c::visit(days_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
   108 void *search_constant_type_c::visit(interval_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
   109 void *search_constant_type_c::visit(hours_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
       
   110 void *search_constant_type_c::visit(minutes_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
       
   111 void *search_constant_type_c::visit(seconds_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
       
   112 void *search_constant_type_c::visit(milliseconds_c *symbol) {ERROR; return NULL;}  /* this member function should never be called. */
       
   113 
   109 
   114 /************************************/
   110 /************************************/
   115 /* B 1.2.3.2 - Time of day and Date */
   111 /* B 1.2.3.2 - Time of day and Date */
   116 /************************************/
   112 /************************************/
   117 void *search_constant_type_c::visit(time_of_day_c *symbol) {return (void *)(symbol->type_name);}
   113 void *search_constant_type_c::visit(time_of_day_c *symbol) {return (void *)(symbol->type_name);}