![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| __init__ (self, type cls, these, bool auto_attribs, ClassProps props, bool has_custom_setattr) | |
| __repr__ (self) | |
| build_class (self) | |
| add_repr (self, ns) | |
| add_str (self) | |
| make_unhashable (self) | |
| add_hash (self) | |
| add_init (self) | |
| add_replace (self) | |
| add_match_args (self) | |
| add_attrs_init (self) | |
| add_eq (self) | |
| add_order (self) | |
| add_setattr (self) | |
Protected Member Functions | |
| None | _eval_snippets (self) |
| _patch_original_class (self) | |
| _create_slots_class (self) | |
| _make_getstate_setstate (self) | |
| Callable | _add_method_dunders_unsafe (self, Callable method) |
| Callable | _add_method_dunders_safe (self, Callable method) |
Iteratively build *one* class.
|
protected |
Add __module__ and __qualname__ to a *method* if possible.
|
protected |
Add __module__ and __qualname__ to a *method*.
|
protected |
Build and return a new class with a `__slots__` attribute.
|
protected |
Evaluate any registered snippets in one go.
|
protected |
Create custom __setstate__ and __getstate__ methods.
|
protected |
Apply accumulated methods and return the class.
| attr._make._ClassBuilder.build_class | ( | self | ) |
Finalize class based on the accumulated configuration. Builder cannot be used after calling this method.