object Printer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Printer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Contramap[Err, Err2, Out, Value2, Value](printer: Printer[Err, Out, Value], from: (Value2) => Value) extends Printer[Err2, Out, Value2] with Product with Serializable
  2. final case class ContramapEither[Err, Err2, Out, Value2, Value](printer: Printer[Err, Out, Value], from: (Value2) => Either[Err2, Value]) extends Printer[Err2, Out, Value2] with Product with Serializable
  3. final case class Fail[+Err](failure: Err) extends Printer[Err, Nothing, Any] with Product with Serializable
  4. final case class Failed[+Err](failure: ParserError[Err]) extends Printer[Err, Nothing, Any] with Product with Serializable
  5. final case class FlatMapValue[Err, Out, Value](f: (Value) => Printer[Err, Out, Any]) extends Printer[Err, Out, Value] with Product with Serializable
  6. final case class Ignore[Err, Out, Value, Value2](printer: Printer[Err, Out, Value], matches: Value2, from: Value) extends Printer[Err, Out, Value2] with Product with Serializable
  7. final case class Lazy[Err, Out, Value](inner: () => Printer[Err, Out, Value]) extends Printer[Err, Out, Value] with Product with Serializable
  8. final case class MapError[Err, Err2, Out, Value](printer: Printer[Err, Out, Value], mapPrinterErr: (Err) => Err2) extends Printer[Err2, Out, Value] with Product with Serializable
  9. final case class Optional[Err, Out, Value](printer: Printer[Err, Out, Value]) extends Printer[Err, Out, Option[Value]] with Product with Serializable
  10. final case class OrElse[Err, Err2, Out, Out2, Value2, Value](left: Printer[Err, Out, Value], right: Printer[Err2, Out2, Value2]) extends Printer[Err2, Out2, Value2] with Product with Serializable
  11. final case class OrElseEither[Err, Err2, Out, Out2, Value2, Value](left: Printer[Err, Out, Value], right: Printer[Err2, Out2, Value2]) extends Printer[Err2, Out2, Either[Value, Value2]] with Product with Serializable
  12. final case class ParseRegex[Err](regex: Regex, onFailure: Option[Err]) extends Printer[Err, Char, Chunk[Char]] with Product with Serializable
  13. final case class ParseRegexLastChar[Err](regex: Regex, onFailure: Option[Err]) extends Printer[Err, Char, Char] with Product with Serializable
  14. final case class Passthrough[-Value, +Result]() extends Printer[Nothing, Result, Value] with Product with Serializable
  15. final case class ProvideValue[Err, Out, Value](printer: Printer[Err, Out, Value], value: Value) extends Printer[Err, Out, Any] with Product with Serializable
  16. final case class Repeat[Err, Out, Value](printer: Printer[Err, Out, Value], min: Int, max: Option[Int]) extends Printer[Err, Out, Chunk[Value]] with Product with Serializable
  17. final case class SkipRegex(regex: Regex, printAs: Chunk[Char]) extends Printer[Nothing, Char, Unit] with Product with Serializable
  18. final case class Succeed(value: Any) extends Printer[Nothing, Nothing, Any] with Product with Serializable
  19. final case class Zip[Err, Err2, Out, Out2, Value2, Value, ZippedValue](left: Printer[Err, Out, Value], right: Printer[Err2, Out2, Value2], unzipValue: (ZippedValue) => (Value, Value2)) extends Printer[Err2, Out2, ZippedValue] with Product with Serializable
  20. final case class ZipLeft[Err, Err2, Out, Out2, Value2, Value](left: Printer[Err, Out, Value], right: Printer[Err2, Out2, Value2]) extends Printer[Err2, Out2, Value] with Product with Serializable
  21. final case class ZipRight[Err, Err2, Out, Out2, Value2, Value](left: Printer[Err, Out, Value], right: Printer[Err2, Out2, Value2]) extends Printer[Err2, Out2, Value2] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val alphaNumeric: Printer[String, Char, Char]

    Prints a single alpha-numeric character

  5. def any: Printer[Nothing, Nothing, Any]

    Printer that just emits its input value

  6. val anyChar: Printer[Nothing, Char, Char]

    Printer that prints a single character provided as input.

  7. val anyString: Printer[Nothing, Char, String]

    Printer that just prints the input string

  8. def apply[Out](value: => Out)(implicit ev: =!=[Out, Char]): Printer[String, Out, Unit]

    Printer that emits the given value

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def byValue[Err, Out, Value](f: (Value) => Printer[Err, Out, Any]): Printer[Err, Out, Value]

    Printer determined by a function on the input value

  11. def char(value: Char): Printer[String, Char, Unit]

    Printer that prints a given character and results in unit

  12. def charIn(chars: Char*): Printer[String, Char, Char]

    Printer that prints a single character if it matches any of the given 'chars'

  13. def charNotIn(chars: Char*): Printer[String, Char, Char]

    Printer that prints a single character except if it matches any of the given 'chars'

  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. val digit: Printer[String, Char, Char]

    Prints a single digit

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def exactly[Err, Out](value: Out, failure: Err)(implicit ev: =!=[Out, Char]): Printer[Err, Out, Out]

    Printer that emits the input if it is equals to 'value'.

    Printer that emits the input if it is equals to 'value'. Otherwise fails with 'failure'

  19. def exactly[Out](value: Out)(implicit ev: =!=[Out, Char]): Printer[String, Out, Out]

    Printer that emits the input if it is equals to 'value'.

    Printer that emits the input if it is equals to 'value'. Otherwise fails

  20. def except[Err, Out](value: Out, failure: Err)(implicit ev: =!=[Out, Char]): Printer[Err, Out, Out]

    Printer that emits the input except if it is equals to 'value', in which case it fails with 'failure'

  21. def except[Out](value: Out)(implicit ev: =!=[Out, Char]): Printer[String, Out, Out]

    Printer that emits the input except if it is equals to 'value', in which case it fails

  22. def fail[Err](failure: Err): Printer[Err, Nothing, Any]

    Printer that does not print anything and fails with 'failure'

  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. val letter: Printer[String, Char, Char]

    Prints a single letter

  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def notChar[Err](value: Char, failure: Err): Printer[Err, Char, Char]

    Printer that prints the input character if it does not equal to 'value', otherwise fails with 'failure'

  30. def notChar(value: Char): Printer[String, Char, Char]

    Printer that prints the input character if it does not equal to 'value', otherwise fails

  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def print[Out](value: Out): Printer[Nothing, Out, Any]

    Printer emitting a specific value

  34. def printString(value: String): Printer[Nothing, Char, Any]

    Printer emitting a specific string to a char output

  35. def regex[Err](regex: Regex, failure: Err): Printer[Err, Char, Chunk[Char]]

    Printer that prints a series of characters provided as input, if it matches the given regex.

    Printer that prints a series of characters provided as input, if it matches the given regex. Otherwise fails with 'failure'

  36. def regexChar[Err](regex: Regex, failure: Err): Printer[Err, Char, Char]

    Printer that prints a single character if matches the given 'regex', otherwise fails with 'failure'

  37. def regexDiscard(regex: Regex, value: Chunk[Char]): Printer[Nothing, Char, Unit]

    Printer that prints the given chunk of characters in 'value'

  38. def string[Result](str: String, value: Result): Printer[Nothing, Char, Result]

    Prints a specific string 'str' and results in 'value'

  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. val unit: Printer[Nothing, Nothing, Any]
  42. def unsafeRegex[Err](regex: Regex): Printer[Err, Char, Chunk[Char]]

    Printer that prints a series of characters provided as input, if it matches the given regex.

    Printer that prints a series of characters provided as input, if it matches the given regex. The regex should never fail.

  43. def unsafeRegexChar(regex: Regex): Printer[Nothing, Char, Char]

    Printer that prints a single character if matches the given 'regex'.

    Printer that prints a single character if matches the given 'regex'. The regex should never fail.

  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. val whitespace: Printer[String, Char, Char]

    Prints a single whitespace character

Inherited from AnyRef

Inherited from Any

Ungrouped