absyntax_utils/function_call_param_iterator.cc
changeset 350 2c3c4dc34979
parent 279 c0453b7f99df
child 449 3c6225521059
equal deleted inserted replaced
341:ba80c3ceb6fb 350:2c3c4dc34979
   219   void *res = f_call->accept(*this);
   219   void *res = f_call->accept(*this);
   220   current_value = (symbol_c *)res;
   220   current_value = (symbol_c *)res;
   221   return (symbol_c *)res;
   221   return (symbol_c *)res;
   222 }
   222 }
   223 
   223 
       
   224 /* Search for the value passed to the parameter named <param_name>...  */
       
   225 symbol_c *function_call_param_iterator_c::search_f(const char *param_name) {
       
   226   identifier_c tmp_indentifier(param_name);
       
   227   return search_f(&tmp_indentifier);
       
   228 }
       
   229 
       
   230 
   224 /* Returns the value being passed to the current parameter. */
   231 /* Returns the value being passed to the current parameter. */
   225 symbol_c *function_call_param_iterator_c::get_current_value(void) {
   232 symbol_c *function_call_param_iterator_c::get_current_value(void) {
   226   return current_value;
   233   return current_value;
   227 }
   234 }
   228 
   235