absyntax_utils/function_param_iterator.hh
changeset 424 43d73e28eca8
parent 350 2c3c4dc34979
child 448 1bd18fc06911
equal deleted inserted replaced
423:f4a2d400ddbd 424:43d73e28eca8
   103     /* Which operation of the class was called...
   103     /* Which operation of the class was called...
   104      * Search a parameter, or iterate to the next parameter.
   104      * Search a parameter, or iterate to the next parameter.
   105      */
   105      */
   106     typedef enum {iterate_op, search_op} operation_t;
   106     typedef enum {iterate_op, search_op} operation_t;
   107     operation_t current_operation;
   107     operation_t current_operation;
   108 
   108     
       
   109     /* the last parameter/value returned by search() or next() */
       
   110     symbol_c *last_returned_parameter; 
       
   111     
   109   private:
   112   private:
   110     int   cmp_extparam_names(const char* s1, const char* s2);
   113     int   cmp_extparam_names(const char* s1, const char* s2);
   111     void* handle_param_list(list_c *list);
   114     void* handle_param_list(list_c *list);
   112     void* handle_single_param(symbol_c *var_name);
   115     void* handle_single_param(symbol_c *var_name);
   113 
   116