final case class ProvideValue[Err, Out, Value](printer: Printer[Err, Out, Value], value: Value) extends Printer[Err, Out, Any] with Product with Serializable
- Alphabetic
- By Inheritance
- ProvideValue
- Serializable
- Product
- Equals
- Printer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def *: Printer[Err, Out, Chunk[Any]]
Symbolic alias for repeat0
Symbolic alias for repeat0
- Definition Classes
- Printer
- final def +: Printer[Err, Out, Chunk[Any]]
Symbolic alias for repeat
Symbolic alias for repeat
- Definition Classes
- Printer
- final def <+>[Err2 >: Err, Out2 >: Out, Value2](that: => Printer[Err2, Out2, Value2]): Printer[Err2, Out2, Either[Any, Value2]]
Symbolic alias for orElseEither
Symbolic alias for orElseEither
- Definition Classes
- Printer
- final def <>[Err2 >: Err, Out2 >: Out, Value2 <: Any](that: => Printer[Err2, Out2, Value2]): Printer[Err2, Out2, Value2]
Symbolic alias for orElse
Symbolic alias for orElse
- Definition Classes
- Printer
- final def <~[Err2 >: Err, Out2 >: Out](that: => Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Any]
Symbolic alias for zipLeft
Symbolic alias for zipLeft
- Definition Classes
- Printer
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ?: Printer[Err, Out, Option[Any]]
Symbolic alias for optional
Symbolic alias for optional
- Definition Classes
- Printer
- final def apply(value: Any): Printer[Err, Out, Any]
Provide this printer it's input value
Provide this printer it's input value
- Definition Classes
- Printer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def asPrinted[Value2](matches: Value2, value: Any): Printer[Err, Out, Value2]
Ignores the printer's result and input and use 'result' and 'value' instead
Ignores the printer's result and input and use 'result' and 'value' instead
- Definition Classes
- Printer
- final def between[Err2 >: Err, Out2 >: Out](left: Printer[Err2, Out2, Unit], right: Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Any]
Surround this printer with 'left' and 'right', each getting Unit as value to be printed.
Surround this printer with 'left' and 'right', each getting Unit as value to be printed.
- Definition Classes
- Printer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contramap[Value2](f: (Value2) => Any): Printer[Err, Out, Value2]
Maps the printer's input value with function 'f'
Maps the printer's input value with function 'f'
- Definition Classes
- Printer
- final def contramapEither[Err2, Value2](from: (Value2) => Either[Err2, Any]): Printer[Err2, Out, Value2]
Maps the printer's result with function 'to' and its input value with 'from'.
Maps the printer's result with function 'to' and its input value with 'from'. Both functions can fail the printer.
- Definition Classes
- Printer
- final def contramapTo[Err2 >: Err, Value2](from: PartialFunction[Value2, Any], failure: Err2): Printer[Err2, Out, Value2]
Maps the result of the printer with the function 'to', and the value to be printed with the partial function 'from'.
Maps the result of the printer with the function 'to', and the value to be printed with the partial function 'from'. It the partial function is not defined on the value, the printer fails with 'failure'.
This can be used to define separate syntaxes for subtypes, that can be later combined.
- Definition Classes
- Printer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def filter[E2 >: Err, Value2 <: Any](condition: (Value2) => Boolean, failure: E2): Printer[E2, Out, Value2]
Specifies a filter condition 'condition' that gets checked on both the printed and the result value and in case it evaluates to false, fails with 'failure'.
Specifies a filter condition 'condition' that gets checked on both the printed and the result value and in case it evaluates to false, fails with 'failure'.
- Definition Classes
- Printer
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatten(implicit ev1: <:<[Chunk[String], Any]): Printer[Err, Out, String]
Concatenates a chunk of string to be printed
Concatenates a chunk of string to be printed
- Definition Classes
- Printer
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def mapError[Err2](f: (Err) => Err2): Printer[Err2, Out, Any]
Maps the error with function 'f'
Maps the error with function 'f'
- Definition Classes
- Printer
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def optional: Printer[Err, Out, Option[Any]]
Print option values
Print option values
- Definition Classes
- Printer
- final def orElse[Err2 >: Err, Out2 >: Out, Value2 <: Any](that: => Printer[Err2, Out2, Value2]): Printer[Err2, Out2, Value2]
Prints this and if it fails, ignore the printed output and print 'that' instead.
Prints this and if it fails, ignore the printed output and print 'that' instead.
- Definition Classes
- Printer
- final def orElseEither[Err2 >: Err, Out2 >: Out, Value2](that: => Printer[Err2, Out2, Value2]): Printer[Err2, Out2, Either[Any, Value2]]
Prints this if the input is 'Left', or print 'that' if the input is 'Right'
Prints this if the input is 'Left', or print 'that' if the input is 'Right'
- Definition Classes
- Printer
- final def print(value: Any): Either[Err, Chunk[Out]]
Print the given 'value' to a chunk of output elements
Print the given 'value' to a chunk of output elements
- Definition Classes
- Printer
- final def print[Out2 >: Out](value: Any, target: Target[Out2]): Either[Err, Unit]
Print the given 'value' to the given 'target' implementation
Print the given 'value' to the given 'target' implementation
- Definition Classes
- Printer
- final def printString(value: Any)(implicit ev: <:<[Out, Char]): Either[Err, String]
Print the given 'value' to a string
Print the given 'value' to a string
- Definition Classes
- Printer
- val printer: Printer[Err, Out, Value]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def repeat: Printer[Err, Out, Chunk[Any]]
Repeats this printer for each element of the input chunk, assuming it has at least one element
Repeats this printer for each element of the input chunk, assuming it has at least one element
- Definition Classes
- Printer
- final def repeat0: Printer[Err, Out, Chunk[Any]]
Repeats this printer for each element of the input chunk, zero or more times
Repeats this printer for each element of the input chunk, zero or more times
- Definition Classes
- Printer
- final def repeatUntil[Err2 >: Err, Out2 >: Out](stopCondition: Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Chunk[Any]]
Repeat this printer for each element of the input chunk, verifying the 'stopConfition' after each.
Repeat this printer for each element of the input chunk, verifying the 'stopConfition' after each.
- Definition Classes
- Printer
- final def repeatWithSep[Err2 >: Err, Out2 >: Out](sep: Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Chunk[Any]]
Repeats this printer for each element of the input chunk, separated by the 'sep' printer (which gets Unit to be printed)
Repeats this printer for each element of the input chunk, separated by the 'sep' printer (which gets Unit to be printed)
- Definition Classes
- Printer
- final def repeatWithSep0[Err2 >: Err, Out2 >: Out](sep: Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Chunk[Any]]
Repeats this printer for each element of the input chunk that can be empty, separated by the 'sep' printer (which gets Unit to be printed)
Repeats this printer for each element of the input chunk that can be empty, separated by the 'sep' printer (which gets Unit to be printed)
- Definition Classes
- Printer
- final def surroundedBy[Err2 >: Err, Out2 >: Out](other: Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Any]
Surround this printer with 'other', which will get Unit as value to be printed.
Surround this printer with 'other', which will get Unit as value to be printed.
- Definition Classes
- Printer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def transformOption[Value2](from: (Value2) => Option[Any]): Printer[Option[Err], Out, Value2]
Maps the printer's result with function 'to' and its input value with 'from'.
Maps the printer's result with function 'to' and its input value with 'from'. Both functions can fail the printer. Failure is indicated by None on the error channel.
- Definition Classes
- Printer
- val value: Value
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def widenWith[Err2 >: Err, Value2](narrow: PartialFunction[Value2, Any], failure: Err2): Printer[Err2, Out, Value2]
Widen this printer's printed value type by specifying a partial function to narrow it back to the set of supported subtypes.
Widen this printer's printed value type by specifying a partial function to narrow it back to the set of supported subtypes.
- Definition Classes
- Printer
- final def zipLeft[Err2 >: Err, Out2 >: Out](that: => Printer[Err2, Out2, Unit]): Printer[Err2, Out2, Any]
Print 'that' by providing the unit value to it after printing this.
Print 'that' by providing the unit value to it after printing this. The result is this printer's result.
- Definition Classes
- Printer
- final def |[Err2 >: Err, Out2 >: Out, Value2 <: Any](that: => Printer[Err2, Out2, Value2]): Printer[Err2, Out2, Value2]
Symbolic alias for orElse
Symbolic alias for orElse
- Definition Classes
- Printer