implicit final class TransformerFs2Ops[In, Out] extends AnyVal
Since a Transformer
is by design a stream transformation, we can naturally provide a conversion from Transformer
to fs2.Pipe
- Source
- package.scala
- Grouped
- Alphabetic
- By Inheritance
- TransformerFs2Ops
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TransformerFs2Ops(transformer: Transformer[In, Out])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toany2stringadd[TransformerFs2Ops[In, Out]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (TransformerFs2Ops[In, Out], B)
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toArrowAssoc[TransformerFs2Ops[In, Out]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (TransformerFs2Ops[In, Out]) => Boolean, msg: => Any): TransformerFs2Ops[In, Out]
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toEnsuring[TransformerFs2Ops[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (TransformerFs2Ops[In, Out]) => Boolean): TransformerFs2Ops[In, Out]
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toEnsuring[TransformerFs2Ops[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): TransformerFs2Ops[In, Out]
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toEnsuring[TransformerFs2Ops[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): TransformerFs2Ops[In, Out]
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toEnsuring[TransformerFs2Ops[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toPipe[F[_]](implicit pos: CallerPos): Pipe[F, In, Out]
Convert this transformer to a
Pipe
which will apply this transformer's logic to an fs2Stream
.Convert this transformer to a
Pipe
which will apply this transformer's logic to an fs2Stream
.- F
Effect type for the Pipe/Stream
- pos
Captures the caller filename and line number, used to fill in the 'spac trace' if the parser throws an exception
- returns
An
fs2.Pipe[F, In, Out]
that will apply this transformer's logic
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toStringFormat[TransformerFs2Ops[In, Out]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (TransformerFs2Ops[In, Out], B)
- Implicit
- This member is added by an implicit conversion from TransformerFs2Ops[In, Out] toArrowAssoc[TransformerFs2Ops[In, Out]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.