Function Call Group¶
- class energyplus_refactor_helper.function_call_group.FunctionCallGroup(initial_call: FunctionCall | None = None)¶
This class represents a contiguous chunk of function calls within a source file. This is essentially just a list of function call instances, but some extra intelligence can apply specifically to a group of calls. so a class is here to provide that context.
- add_function_call(function_call_info: FunctionCall) None¶
Add a function call instance to this chunk.
- summary_dict() dict¶
This function creates a dict summary of a chunk of contiguous function calls. It is expected this function will change to returning a nice structure instead of a loosely defined dictionary.
- Returns:
A single dictionary summary.