class documentation

class TypeResolver:

View In Hierarchy

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_id Undocumented
Instance Variable _rvn Undocumented
Instance Variable _type_cache 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_connectionUndocumented
binary_id:strUndocumented
def resolve(self, type_name):

Resolve a type from its name.

Information

Parameters
type_name:strUndocumented
Returns
TypeUndocumented
Raises
RuntimeErrorif the debug object associated with this binary could not be found, or if the resolved type is None.
_binary_id =

Undocumented

_rvn =

Undocumented

_type_cache: _Dict[str, Type] =

Undocumented