class CallSiteValues(object):
Helper class to access arguments and return value from a `call` transition.
| Method | __init__ |
|
| Method | ret |
|
| Method | arg |
Get the value of the argument, by name. |
| Method | arg_n |
Get the value of the argument, by index. |
| Method | args |
Get argument values as a dictionary indexed by argument name |
| Instance Variable | _call_tr |
Undocumented |
| Instance Variable | _after_ret_tr |
Undocumented |
| Instance Variable | _proto |
Undocumented |
| Instance Variable | _args |
Undocumented |
| Parameters | call_tr | call transition Transition (type: Transition) |
| proto | prototype info Prototype (type: Prototype) |
| Returns | the ret value as given by reven2.trace.Context.read (type: _Any) | |
| Raises | RuntimeError | if the `ret` transition is not found. |
Get the value of the argument, by name.
| Parameters | name | name of the argument. (type: str) |
| Returns | value of the argument as given by reven2.trace.Context.read. (type: _Any) | |
| Raises | KeyError | if no argument found with given name. |
Get the value of the argument, by index.
| Parameters | index | index of the argument, starts at 0 for first argument. (type: int) |
| Returns | value of the argument as given by reven2.trace.Context.read. (type: _Any) | |
| Raises | IndexError | if no argument at given index. |