Module ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list
N/A N/A CallInstr Visitor N/A object N/A visit N/A N/A self module N/A N/A N/A N/A self _module module N/A func N/A module functions N/A N/A N/A N/A self visit_Function func N/A visit_Function N/A N/A self func N/A N/A N/A N/A self _function func N/A bb N/A func blocks N/A N/A N/A N/A self visit_BasicBlock bb N/A visit_BasicBlock N/A N/A self bb N/A N/A N/A N/A self _basic_block bb N/A instr N/A bb instructions N/A N/A N/A N/A self visit_Instruction instr N/A visit_Instruction N/A N/A self instr N/A N/A N/A NotImplementedError N/A module N/A N/A self N/A N/A N/A N/A self _module N/A property function N/A N/A self N/A N/A N/A N/A self _function N/A property basic_block N/A N/A self N/A N/A N/A N/A self _basic_block N/A property N/A CallVisitor N/A Visitor N/A visit_Instruction N/A N/A self instr N/A N/A N/A N/A isinstance instr CallInstr N/A N/A N/A N/A self visit_Call instr N/A visit_Call N/A N/A self instr N/A N/A N/A NotImplementedError N/A N/A ReplaceCalls N/A CallVisitor N/A __init__ N/A N/A self orig repl N/A N/A N/A N/A N/A N/A super ReplaceCalls self __init__ N/A N/A self orig orig N/A N/A self repl repl N/A N/A self calls N/A N/A visit_Call N/A N/A self instr N/A N/A N/A N/A N/A instr callee N/A self orig N/A N/A N/A N/A instr replace_callee N/A self repl N/A N/A N/A N/A self calls append instr N/A N/A replace_all_calls N/A N/A mod orig repl N/A N/A N/A Replace all calls to `orig` to `repl` in module `mod`.
    Returns the references to the returned calls
     N/A rc N/A ReplaceCalls orig repl N/A N/A N/A rc visit mod N/A N/A rc calls N/A