Trait

io.dylemma.spac

FollowedBy

Related Doc: package spac

Permalink

trait FollowedBy[M[+_], +T1] extends AnyRef

An intermediate object for creating sequence-based combination methods for a Parser or Consumer.

M

Type constructor for the parser/consumer of a given output type

T1

Output type for the "first" parser/consumer; using the combination methods in this trait will result in an instance of T1 being used to create a "second" parser/consumer/transformer to be run sequentially after the first.

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

Abstract Value Members

  1. abstract def apply[T2](getNext: (T1) ⇒ M[T2]): M[T2]

    Permalink

    Creates a sequence handler by combining this one and a getNext function such that when this handler finishes, a second handler is created by passing its result ot getNext.

    Creates a sequence handler by combining this one and a getNext function such that when this handler finishes, a second handler is created by passing its result ot getNext.

    T2

    The output type of the second handler

    getNext

    A function that takes this handler's result to create a second handler

    returns

    The combined handler

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FollowedBy[M, T1] to ArrowAssoc[FollowedBy[M, T1]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (FollowedBy[M, T1]) ⇒ Boolean, msg: ⇒ Any): FollowedBy[M, T1]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatMap[T2](getNext: (T1) ⇒ M[T2]): M[T2]

    Permalink

    Alias for apply, to help use this object in for-comprehensions.

    Alias for apply, to help use this object in for-comprehensions.

    Creates a sequence handler by combining this one and a getNext function such that when this handler finishes, a second handler is created by passing its result ot getNext.

    T2

    The output type of the second handler

    getNext

    A function that takes this handler's result to create a second handler

    returns

    The combined handler

  16. def formatted(fmtstr: String): String

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

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

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

    Permalink
    Definition Classes
    Any
  20. def map[T2](f: (T1) ⇒ T2): FollowedBy[M, T2]

    Permalink

    Convenience for using this object in for-comprehensions; wraps this ToSequence by calling f on the first handler's result and passing that into the getNext function.

    Convenience for using this object in for-comprehensions; wraps this ToSequence by calling f on the first handler's result and passing that into the getNext function. You probably don't want to call this directly

  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def [B](y: B): (FollowedBy[M, T1], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FollowedBy[M, T1] to ArrowAssoc[FollowedBy[M, T1]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FollowedBy[M, T1] to any2stringadd[FollowedBy[M, T1]]

Inherited by implicit conversion StringFormat from FollowedBy[M, T1] to StringFormat[FollowedBy[M, T1]]

Inherited by implicit conversion Ensuring from FollowedBy[M, T1] to Ensuring[FollowedBy[M, T1]]

Inherited by implicit conversion ArrowAssoc from FollowedBy[M, T1] to ArrowAssoc[FollowedBy[M, T1]]

Ungrouped