class documentation

class MethodOutput(Generic[Core]): (source)

View In Hierarchy

This is the thing that goes into the automaton's outputs list, and thus (per the implementation of implementMethod) takes the 'self' of the InputImplementer instance (i.e. the synthetic protocol implementation) and the previous result computed by the former output, which will be None initially.

Method __call__ Undocumented
Class Variable method Undocumented
Class Variable requiresData Undocumented
Property name Undocumented
Class Method _fromImpl Undocumented
Class Variable _assertion Undocumented
def __call__(self, machine: InputImplementer[InputProtocol, Core], dataAtStart: Data, /, *args: object, **kwargs: object) -> object: (source)

Undocumented

method: Callable[..., Any] = (source)

Undocumented

requiresData: bool = (source)

Undocumented

@property
name: str = (source)

Undocumented

@classmethod
def _fromImpl(cls: type[MethodOutput[Core]], method: Callable[..., Any], requiresData: bool) -> MethodOutput[Core]: (source)

Undocumented

_assertion: Callable[[object], None] = (source)

Undocumented