Class | ArgTypeExpander |
Utility class for mapping actual argument types to formal arguments. |
Function | map_actuals_to_formals |
Calculate mapping between actual (caller) args and formals. |
Function | map_formals_to_actuals |
Calculate the reverse mapping of map_actuals_to_formals. |
Calculate mapping between actual (caller) args and formals.
The result contains a list of caller argument indexes mapping to each callee argument index, indexed by callee index.
The caller_arg_type argument should evaluate to the type of the actual argument type with the given index.
Parameters | |
actual_kinds:List[ | Undocumented |
actual_names:Optional[ | Undocumented |
formal_kinds:List[ | Undocumented |
formal_names:Sequence[ | Undocumented |
actual_arg_type:Callable[ | Undocumented |
Returns | |
List[ | Undocumented |
Parameters | |
actual_kinds:List[ | Undocumented |
actual_names:Optional[ | Undocumented |
formal_kinds:List[ | Undocumented |
formal_names:List[ | Undocumented |
actual_arg_type:Callable[ | Undocumented |
Returns | |
List[ | Undocumented |