Class

io.dylemma.spac.Transformer

Collect

Related Doc: package Transformer

Permalink

case class Collect[A, B](pf: PartialFunction[A, B]) extends Transformer[A, B] with Product with Serializable

Source
Transformer.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Transformer[A, B], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Collect
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Transformer
  7. AnyRef
  8. 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

Instance Constructors

  1. new Collect(pf: PartialFunction[A, B])

    Permalink

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 Collect[A, B] to any2stringadd[Collect[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Collect[A, B], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Collect[A, B] to ArrowAssoc[Collect[A, B]] performed by method ArrowAssoc in scala.Predef. This conversion will take place only if A is a superclass of XMLEvent (A >: 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[A, Out]

    Permalink
    Definition Classes
    Transformer
  7. def >>[C](nextT: Transformer[B, C]): Transformer[A, C]

    Permalink
    Definition Classes
    Transformer
  8. def andThen[Out](end: Consumer[B, Out]): Consumer[A, Out]

    Permalink
    Definition Classes
    Transformer
  9. def andThen[C](nextT: Transformer[B, C]): Transformer[A, C]

    Permalink
    Definition Classes
    Transformer
  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[A, C]

    Permalink
    Definition Classes
    Transformer
  13. def consumeAsFold[R](init: R)(f: (R, B) ⇒ R): Consumer[A, R]

    Permalink
    Definition Classes
    Transformer
  14. def consumeFirst: Consumer[A, B]

    Permalink
    Definition Classes
    Transformer
  15. def consumeFirstOption: Consumer[A, Option[B]]

    Permalink
    Definition Classes
    Transformer
  16. def consumeForEach(f: (B) ⇒ Any): Consumer[A, Unit]

    Permalink
    Definition Classes
    Transformer
  17. def consumeToList: Consumer[A, List[B]]

    Permalink
    Definition Classes
    Transformer
  18. def drop(n: Int): Transformer[A, B]

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

    Permalink
    Definition Classes
    Transformer
  20. def ensuring(cond: (Collect[A, B]) ⇒ Boolean, msg: ⇒ Any): Collect[A, B]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def filter(p: (B) ⇒ Boolean): Transformer[A, B]

    Permalink
    Definition Classes
    Transformer
  26. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  30. def makeHandler[Out](next: Handler[B, Out]): Handler[A, Out]

    Permalink
    Definition Classes
    CollectTransformer
  31. def map[C](f: (B) ⇒ C): Transformer[A, C]

    Permalink
    Definition Classes
    Transformer
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def parallel[In2 <: A, B2 >: B](other: Transformer[In2, B2]): Transformer[In2, B2]

    Permalink
    Definition Classes
    Transformer
  36. def parallelEither[In2 <: A, C](other: Transformer[In2, C]): Transformer[In2, Either[B, C]]

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

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Collect[A, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if A is a superclass of XMLEvent (A >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  41. 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 Collect[A, B] to spac.TransformerParsingOps[B] performed by method TransformerParsingOps in io.dylemma.spac.syntax.TransformerSyntax. This conversion will take place only if A is a superclass of XMLEvent (A >: XMLEvent).
    Definition Classes
    TransformerParsingOps
  42. val pf: PartialFunction[A, B]

    Permalink
  43. def scan[S](init: S)(f: (S, B) ⇒ S): Transformer[A, S]

    Permalink
    Definition Classes
    Transformer
  44. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Transformer
  46. def takeWhile(p: (B) ⇒ Boolean): Transformer[A, B]

    Permalink
    Definition Classes
    Transformer
  47. def unwrapSafe[T](implicit ev: <:<[B, Try[T]]): Transformer[A, T]

    Permalink
    Definition Classes
    Transformer
  48. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Transformer
  52. def withSideEffect(effect: (B) ⇒ Any): Transformer[A, B]

    Permalink
    Definition Classes
    Transformer
  53. def wrapSafe: Transformer[A, Try[B]]

    Permalink
    Definition Classes
    Transformer
  54. def [B](y: B): (Collect[A, B], B)

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Transformer[A, B]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion TransformerParsingOps from Collect[A, B] to spac.TransformerParsingOps[B]

Inherited by implicit conversion any2stringadd from Collect[A, B] to any2stringadd[Collect[A, B]]

Inherited by implicit conversion StringFormat from Collect[A, B] to StringFormat[Collect[A, B]]

Inherited by implicit conversion Ensuring from Collect[A, B] to Ensuring[Collect[A, B]]

Inherited by implicit conversion ArrowAssoc from Collect[A, B] to ArrowAssoc[Collect[A, B]]

Ungrouped