Consume results passed through this transformer to yield a single, final result.
Consume results passed through this transformer to yield a single, final result.
The final result's type
A function that passes in the same ExecutionContext being used by this transformer, and returns an Iteratee that consumes the results of this transformer.
A Parser
whose result will be the final result returned by the iteratee.
Transform the results passed through this transformer by applying an Enumeratee
to its stream.
Transform the results passed through this transformer by applying an Enumeratee
to its stream.
The outgoing result type
A function that returns the Enumeratee
given an ExecutionContext.
The same ExecutionContext being used by this transformer will be passed
to getEnumeratee
.
A new transformer that passes along the B
results output by the enumeratee.
Create a parser that runs the given thunk
on the values of each successful
result in the stream.
Create a parser that runs the given thunk
on the values of each successful
result in the stream. The parser's result will always be a Unit
.
A side-effecting function on the elements in the stream
Create a parser that runs the given thunk
on every result in the stream.
Create a parser that runs the given thunk
on every result in the stream.
The parser's result will always be a Unit
.
A side-effecting function on the results in the stream
Create a parser that concatenates the results of this transformer according to some
implicitly-available CanBuildFrom
.
Create a parser that concatenates the results of this transformer according to some
implicitly-available CanBuildFrom
. Empty results are ignored, while Error results
will cause the entire result to be replaced with that error.
The element type in the traversable from t
The end result type
An implicit view of the results as a traversable
A builder from the traversable in t
to some other result type
Create a parser that consumes the results of this transformer as a List.
Create a parser that consumes the results of this transformer as a List. Empty results are ignored, while Error results will cause the entire list to be replaced with that error.
Create a parser that consumes and returns the first non-empty result of this transformer, as an option.
Create a parser that consumes and returns the first non-empty result of this transformer, as an option.
If no first result exists, or the stream is full of Empty
results, the parser will return a None
.
Create a parser that consumes and returns the first non-empty result of this transformer, if one exists.
Create a parser that consumes and returns the first non-empty result of this transformer, if one exists.
If no first result exists, the parser will return an Empty
instead.
Consume results passed through this transformer to yield a single, final result.
Consume results passed through this transformer to yield a single, final result.
The final result's type
The iteratee responsible for consuming the results
A Parser
whose result will be the final result returned by the iteratee
.
Create a new transformer that folds over the results from this transformer using
the given StreamScan
object.
Create a new transformer that folds over the results from this transformer using
the given StreamScan
object. Error results from this transformer will cause the
StreamScan state to reset to its init
state before being passed along. Result
values from the scan's fold
and finish
methods will be passed through.
s
's output type
A StreamScan
that manages the internal logic of the fold.
Create a new transformer that folds over the results from this transformer using
the given StreamScan
object.
Create a new transformer that folds over the results from this transformer using
the given StreamScan
object. Empty and Error results will be ignored by s
.
Result values from the scan's fold
and finish
methods will be passed through.
s
's output type
A StreamScan
that manages the internal logic of the fold.
Create a new transformer that passes through the results from this transformer until just after the first Error result.
Create a new transformer that passes through the results from this transformer until
just after the first Error result. If the first error occurs, that result will be the
final result in the stream. Shortcut for takeThroughNthError(1)
Create a new transformer that passes through the results from this transformer until
just after the n
th Error result.
Create a new transformer that passes through the results from this transformer until
just after the n
th Error result. If the n
th error occurs, that result will be the
final result in the stream.
The number of of errors required to end the stream (aside from a normal EOF)
Create a new transformer that passes through the results from this transformer until the first error occurs.
Create a new transformer that passes through the results from this transformer until
the first error occurs. The first error will be treated as an EOF and will not be
passed through. Shortcut for takeUntilNthError(1)
Create a new transformer that passes through the results from this transformer until
the n
th error occurs.
Create a new transformer that passes through the results from this transformer until
the n
th error occurs. The n
th error will be treated as an EOF and will not be
passed through.
The number of errors required to end the stream (aside from a normal EOF)
Transform the results passed through this transformer by applying an Enumeratee
to its stream.
Transform the results passed through this transformer by applying an Enumeratee
to its stream.
The outgoing result type
The Enumeratee
responsible for transforming the stream
A new transformer that passes along the B
results output by the enumeratee
Defines common functionality between
Transformer
andTransformerWithContext