trait
Transformer[-In, +B] extends (Any) ⇒ Transformer[In, B]
Abstract Value Members
-
abstract
def
makeHandler[Out](next: Handler[B, Out]): Handler[In, Out]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Transformer[In, B], B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
>>[Out](end: Parser[B, Out]): Parser[In, Out]
-
-
def
andThen[Out](end: Parser[B, Out]): Parser[In, Out]
-
-
def
andThen[A](g: (Transformer[In, B]) ⇒ A): (Any) ⇒ A
-
def
apply(v1: Any): Transformer[In, B]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
collect[C](pf: PartialFunction[B, C]): Transformer[In, C]
-
def
compose[A](g: (A) ⇒ Any): (A) ⇒ Transformer[In, B]
-
def
drop(n: Int): Transformer[In, B]
-
def
dropWhile(p: (B) ⇒ Boolean): Transformer[In, B]
-
def
ensuring(cond: (Transformer[In, B]) ⇒ Boolean, msg: ⇒ Any): Transformer[In, B]
-
def
ensuring(cond: (Transformer[In, B]) ⇒ Boolean): Transformer[In, B]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Transformer[In, B]
-
def
ensuring(cond: Boolean): Transformer[In, B]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (B) ⇒ Boolean): Transformer[In, B]
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[C](f: (B) ⇒ C): Transformer[In, C]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
parallel[In2 <: In, B2 >: B](other: Transformer[In2, B2]): Transformer[In2, B2]
-
def
parallelEither[In2 <: In, C](other: Transformer[In2, C]): Transformer[In2, Either[B, C]]
-
def
parseAsFold[Out](init: Out)(f: (Out, B) ⇒ Out): Parser[In, Out]
-
def
parseFirst: Parser[In, B]
-
def
parseFirstOption: Parser[In, Option[B]]
-
def
parseForeach(f: (B) ⇒ Any): Parser[In, Unit]
-
def
parseToList: Parser[In, List[B]]
-
def
parseWith[Out](consumer: Parser[B, Out], setDebugName: Option[String] = None): Parser[In, Out]
-
def
scan[S](init: S)(f: (S, B) ⇒ S): Transformer[In, S]
-
def
sink: Parser[In, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
take(n: Int): Transformer[In, B]
-
def
takeWhile(p: (B) ⇒ Boolean): Transformer[In, B]
-
def
toString(): String
-
def
transform[R](src: R)(implicit cl: ConsumableLike[R, In]): Iterator[B] with Closeable
-
def
unwrapSafe[T](implicit ev: <:<[B, Try[T]]): Transformer[In, T]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withFilter(p: (B) ⇒ Boolean): Transformer[In, B]
-
def
withSideEffect(effect: (B) ⇒ Any): Transformer[In, B]
-
def
wrapSafe: Transformer[In, Try[B]]
-
def
→[B](y: B): (Transformer[In, B], B)
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
Transformer[In, B] to StringAdd
Inherited by implicit conversion any2stringfmt from
Transformer[In, B] to StringFormat
A transformation function for a stream, i.e.
Stream => Stream
. Transformers operate by wrapping adownstream
handler with a new handler that manages the transformation.Transformers themselves are immutable; they act as handler factories (though not specifically the HandlerFactory trait, as a transformer requires a
downstream
handler in order to create its own handler.