Causes this handler to finalize and produce a result.
Causes this handler to finalize and produce a result.
This method should not be called if isFinished
is already true.
The final output of this parser
Causes this handler to process an error.
Causes this handler to process an error.
This method should not be called if isFinished == true
An option containing the final output if
this handler became finished as a result
of processing the error
, or None
if
the handler is ready for more input.
Causes this handler to process an input element.
Causes this handler to process an input element.
This method should not be called if isFinished == true
an element to be processed
An option containing the final output if
this handler became finished as a result
of processing the input
, or None
if
the handler is ready for more input.
Tells if this handler is finished.
Tells if this handler is finished.
If a handler is finished, its handleX
methods
should no longer be called. Doing so after the
handler finishes will cause undefined behavior.
Typically a handler should be discarded once it
is finished.
whether this handler is finished
(sideEffectHandler: StringAdd).self
(sideEffectHandler: StringFormat).self
(sideEffectHandler: ArrowAssoc[SideEffectHandler[A, Out]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(sideEffectHandler: Ensuring[SideEffectHandler[A, Out]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead