object Printer
- Alphabetic
- By Inheritance
- Printer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
- 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
- final case class Fail[+Err](failure: Err) extends Printer[Err, Nothing, Any] with Product with Serializable
- final case class Failed[+Err](failure: ParserError[Err]) extends Printer[Err, Nothing, Any] with Product with Serializable
- final case class FlatMapValue[Err, Out, Value](f: (Value) => Printer[Err, Out, Any]) extends Printer[Err, Out, Value] with Product with Serializable
- 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
- final case class Lazy[Err, Out, Value](inner: () => Printer[Err, Out, Value]) extends Printer[Err, Out, Value] with Product with Serializable
- 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
- final case class Optional[Err, Out, Value](printer: Printer[Err, Out, Value]) extends Printer[Err, Out, Option[Value]] with Product with Serializable
- 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
- 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
- final case class ParseRegex[Err](regex: Regex, onFailure: Option[Err]) extends Printer[Err, Char, Chunk[Char]] with Product with Serializable
- final case class ParseRegexLastChar[Err](regex: Regex, onFailure: Option[Err]) extends Printer[Err, Char, Char] with Product with Serializable
- final case class Passthrough[-Value, +Result]() extends Printer[Nothing, Result, Value] with Product with Serializable
- final case class ProvideValue[Err, Out, Value](printer: Printer[Err, Out, Value], value: Value) extends Printer[Err, Out, Any] with Product with Serializable
- 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
- final case class SkipRegex(regex: Regex, printAs: Chunk[Char]) extends Printer[Nothing, Char, Unit] with Product with Serializable
- final case class Succeed(value: Any) extends Printer[Nothing, Nothing, Any] with Product with Serializable
- 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
- 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
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val alphaNumeric: Printer[String, Char, Char]
Prints a single alpha-numeric character
- def any: Printer[Nothing, Nothing, Any]
Printer that just emits its input value
- val anyChar: Printer[Nothing, Char, Char]
Printer that prints a single character provided as input.
- val anyString: Printer[Nothing, Char, String]
Printer that just prints the input string
- def apply[Out](value: => Out)(implicit ev: =!=[Out, Char]): Printer[String, Out, Unit]
Printer that emits the given value
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byValue[Err, Out, Value](f: (Value) => Printer[Err, Out, Any]): Printer[Err, Out, Value]
Printer determined by a function on the input value
- def char(value: Char): Printer[String, Char, Unit]
Printer that prints a given character and results in unit
- def charIn(chars: Char*): Printer[String, Char, Char]
Printer that prints a single character if it matches any of the given 'chars'
- def charNotIn(chars: Char*): Printer[String, Char, Char]
Printer that prints a single character except if it matches any of the given 'chars'
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val digit: Printer[String, Char, Char]
Prints a single digit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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'
- 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
- 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'
- 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
- def fail[Err](failure: Err): Printer[Err, Nothing, Any]
Printer that does not print anything and fails with 'failure'
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val letter: Printer[String, Char, Char]
Prints a single letter
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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'
- def notChar(value: Char): Printer[String, Char, Char]
Printer that prints the input character if it does not equal to 'value', otherwise fails
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def print[Out](value: Out): Printer[Nothing, Out, Any]
Printer emitting a specific value
- def printString(value: String): Printer[Nothing, Char, Any]
Printer emitting a specific string to a char output
- 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'
- 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'
- def regexDiscard(regex: Regex, value: Chunk[Char]): Printer[Nothing, Char, Unit]
Printer that prints the given chunk of characters in 'value'
- def string[Result](str: String, value: Result): Printer[Nothing, Char, Result]
Prints a specific string 'str' and results in 'value'
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unit: Printer[Nothing, Nothing, Any]
- 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.
- 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.
- 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()
- val whitespace: Printer[String, Char, Char]
Prints a single whitespace character