absyntax_utils/function_call_iterator.hh
changeset 205 96d8b6e006f0
parent 202 da1a8186f86f
child 265 4d222f46f8cc
equal deleted inserted replaced
200:fde2d08ebaee 205:96d8b6e006f0
    35 #include "../absyntax/visitor.hh"
    35 #include "../absyntax/visitor.hh"
    36 
    36 
    37 
    37 
    38 
    38 
    39 /* given a function_body_c, iterate through each
    39 /* given a function_body_c, iterate through each
    40  * function in/out/inout parameter, returning the name
    40  * function/FB call in that code.
    41  * of each parameter...
       
    42  */
    41  */
       
    42 
    43 class function_call_iterator_c : public iterator_visitor_c {
    43 class function_call_iterator_c : public iterator_visitor_c {
    44 
    44 
    45   private:
    45   private:
    46     symbol_c *start_symbol;
    46     symbol_c *start_symbol;
    47     int next_fcall, fcall_count;
    47     int next_fcall, fcall_count;