class documentation
class UnresolvedStruct(UnresolvedDeclaration):
Struct that could not be resolved, such as a forward declaration or a Zero-Sized-Type without any method or field.
| Method | __eq__ |
Compares the instance for equality with an object. |
| Method | __hash__ |
Returns the hash for this value. |
| Method | __init__ |
Initializes a new instance of this class from its kind (struct, class, union), name and mangled name if available. |
| Method | __ne__ |
Compares the instance for equality with an object. |
| Method | __str__ |
Returns the nicely printable string representation of this instance. |
| Property | kind |
The kind of this struct. |
| Instance Variable | _kind |
Undocumented |
Inherited from UnresolvedDeclaration:
| Method | description |
The short description of this type. |
| Method | parse |
Unconditionally returns None, as no instance of this type can exist. |
| Method | size |
Always 0. |
| Method | to |
Always raises. |
| Property | mangled |
The mangled name of this declaration, if available. |
| Property | name |
The name of this declaration. |
| Method | _construct |
Return the underlying construct instance |
| Method | _resolve |
Uses the resolver to return a resolved version of the type, if possible. |
| Instance Variable | _mangled |
Undocumented |
| Instance Variable | _name |
Undocumented |
Inherited from Type (via UnresolvedDeclaration):
| Method | is |
Whether the context argument needed by some methods actually has an effect. |
def __eq__(self, o):
Compares the instance for equality with an object.
- if the object is not an
UnresolvedStruct, it will never be equal to this instance. - otherwise, all
UnresolvedStructwith the same name, kind and mangled name are considered equal.
| Parameters | |
o:object | Undocumented |
| Returns | |
bool | Undocumented |
def __init__(self, kind, name, mangled_name):
Initializes a new instance of this class from its kind (struct, class, union), name and mangled name if available.
| Parameters | |
kind:StructKind | Undocumented |
name:str | Undocumented |
mangled_Optional[ | Undocumented |
def __ne__(self, o):
Compares the instance for equality with an object.
- if the object is not an
UnresolvedStruct, it will never be equal to this instance. - otherwise, all
UnresolvedStructwith the same name, kind and mangled name are considered equal.
| Parameters | |
o:object | Undocumented |
| Returns | |
bool | Undocumented |