class documentation
class TypeResolver:
A class to resolve types.
Some types need to reference forward-declared types to avoid eg. cyclic definitions. The resolver allows to efficiently resolve these types if needs be.
Method | __init__ |
Initialize a new instance of this class from a low-level connection and a binary id. |
Method | resolve |
Resolve a type from its name. |
Instance Variable | _binary |
Undocumented |
Instance Variable | _rvn |
Undocumented |
Instance Variable | _type |
Undocumented |
def __init__(self, _rvn, binary_id):
Initialize a new instance of this class from a low-level connection and a binary id.
Warnings
This object is not currently meant to be constructed directly.
Parameters | |
_rvn:_reven_api.reven_connection | Undocumented |
binarystr | Undocumented |
def resolve(self, type_name):
Resolve a type from its name.
Information
Parameters | |
typestr | Undocumented |
Returns | |
Type | Undocumented |
Raises | |
RuntimeError | if the debug object associated with this binary could not be found, or if the resolved type is None. |