Trait/Object

io.dylemma.spac

Transformer

Related Docs: object Transformer | package spac

Permalink

trait Transformer[-In, +B] extends AnyRef

An immutable object that can be used to create a handler which wraps an existing handler, possibly transforming inputs before passing them along to the downstream handler.

Self Type
Transformer[In, B]
Source
Transformer.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transformer
  2. AnyRef
  3. Any
Implicitly
  1. by TransformerParsingOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def makeHandler[Out](next: Handler[B, Out]): Handler[In, Out]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to any2stringadd[Transformer[In, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Transformer[In, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to ArrowAssoc[Transformer[In, B]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >>[Out](end: Consumer[B, Out]): Consumer[In, Out]

    Permalink
  7. def >>[C](nextT: Transformer[B, C]): Transformer[In, C]

    Permalink
  8. def andThen[Out](end: Consumer[B, Out]): Consumer[In, Out]

    Permalink
  9. def andThen[C](nextT: Transformer[B, C]): Transformer[In, C]

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collect[C](pf: PartialFunction[B, C]): Transformer[In, C]

    Permalink
  13. def consumeAsFold[R](init: R)(f: (R, B) ⇒ R): Consumer[In, R]

    Permalink
  14. def consumeFirst: Consumer[In, B]

    Permalink
  15. def consumeFirstOption: Consumer[In, Option[B]]

    Permalink
  16. def consumeForEach(f: (B) ⇒ Any): Consumer[In, Unit]

    Permalink
  17. def consumeToList: Consumer[In, List[B]]

    Permalink
  18. def drop(n: Int): Transformer[In, B]

    Permalink
  19. def dropWhile(p: (B) ⇒ Boolean): Transformer[In, B]

    Permalink
  20. def ensuring(cond: (Transformer[In, B]) ⇒ Boolean, msg: ⇒ Any): Transformer[In, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to Ensuring[Transformer[In, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (Transformer[In, B]) ⇒ Boolean): Transformer[In, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to Ensuring[Transformer[In, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: ⇒ Any): Transformer[In, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to Ensuring[Transformer[In, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): Transformer[In, B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to Ensuring[Transformer[In, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  26. def filter(p: (B) ⇒ Boolean): Transformer[In, B]

    Permalink
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to StringFormat[Transformer[In, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def map[C](f: (B) ⇒ C): Transformer[In, C]

    Permalink
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def parseAsFold[R](init: R)(f: (R, B) ⇒ R): Parser[R]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  37. def parseFirst: Parser[B]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  38. def parseFirstOption: Parser[Option[B]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  39. def parseToList: Parser[List[B]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  40. def parseWith[B](consumer: Consumer[B, Try[B]]): Parser[B]

    Permalink

    Attach a Consumer to this transformer to create a Parser.

    Attach a Consumer to this transformer to create a Parser.

    B

    The type of the Results emitted by the consumer

    consumer

    All events passed through this transformer will be passed through the given consumer.

    returns

    A Parser whose result is the result of the consumer after receiving events from this transformer.

    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  41. def scan[S](init: S)(f: (S, B) ⇒ S): Transformer[In, S]

    Permalink
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def take(n: Int): Transformer[In, B]

    Permalink
  44. def takeWhile(p: (B) ⇒ Boolean): Transformer[In, B]

    Permalink
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. def unwrapSafe[T](implicit ev: <:<[B, Try[T]]): Transformer[In, T]

    Permalink
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def withFilter(p: (B) ⇒ Boolean): Transformer[In, B]

    Permalink
  51. def withSideEffect(effect: (B) ⇒ Any): Transformer[In, B]

    Permalink
  52. def wrapSafe: Transformer[In, Try[B]]

    Permalink
  53. def [B](y: B): (Transformer[In, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Transformer[In, B] to ArrowAssoc[Transformer[In, B]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if In is a superclass of XMLEvent (In >: XMLEvent).
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion TransformerParsingOps from Transformer[In, B] to spac.TransformerParsingOps[B]

Inherited by implicit conversion any2stringadd from Transformer[In, B] to any2stringadd[Transformer[In, B]]

Inherited by implicit conversion StringFormat from Transformer[In, B] to StringFormat[Transformer[In, B]]

Inherited by implicit conversion Ensuring from Transformer[In, B] to Ensuring[Transformer[In, B]]

Inherited by implicit conversion ArrowAssoc from Transformer[In, B] to ArrowAssoc[Transformer[In, B]]

Ungrouped