class documentation
class TypeMachine(Generic[
A TypeMachine
is a factory for instances of InputProtocol.
Method | __call__ |
Construct an instance of InputProtocol from an instance of the Core protocol. |
Method | as |
Undocumented |
Class Variable | __automat |
Undocumented |
Class Variable | __automat |
Undocumented |
@overload
def __call__(self, core:
@overloadCore
) -> InputProtocol
:def __call__(self, core:
@overloadCore
, state: TypedState[ InputProtocol, Core]
) -> InputProtocol
:def __call__(self, core:
(source)
¶
Core
, state: TypedDataState[ InputProtocol, Core, OtherData, ...]
, dataFactory: Callable[ [ InputProtocol, Core], OtherData]
) -> InputProtocol
:Construct an instance of InputProtocol from an instance of the Core protocol.