absyntax_utils/function_call_iterator.hh
changeset 202 da1a8186f86f
parent 181 38d6eb056260
child 265 4d222f46f8cc
equal deleted inserted replaced
201:e657008f43d0 202:da1a8186f86f
    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;