Parser

zio.cli.figlet.Parser
See theParser companion object
abstract class Parser[-R, +R1, +A] extends R => ParseResult[R1, A]

Attributes

Companion
object
Graph
Supertypes
trait R => ParseResult[R1, A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def *: Parser[R, R, Chunk[A]]
Implicitly added by ParserOps
final def <~[R2, B](p: Parser[R1, R2, B]): Parser[R, R2, A]
def ?: Parser[R, R, Option[A]]
Implicitly added by ParserOps
final def flatMap[R2, B](f: A => Parser[R1, R2, B]): Parser[R, R2, B]
final def map[B](f: A => B): Parser[R, R1, B]
final def parse(r: R): Either[String, A]
def refine[B](f: A => Either[R => Err, B]): Parser[R, R, B]
Implicitly added by ParserOps
def rep(n: Int): Parser[R, R, Chunk[A]]
Implicitly added by ParserOps
final def ~[R2, B](p: Parser[R1, R2, B]): Parser[R, R2, (A, B)]
final def ~>[R2, B](p: Parser[R1, R2, B]): Parser[R, R2, B]

Inherited methods

def andThen[A](g: (ParseResult[R1, A]) => A): R => A

Attributes

Inherited from:
Function1
def compose[A](g: A => R): A => ParseResult[R1, A]

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Inherited and Abstract methods

def apply(v1: R): ParseResult[R1, A]

Attributes

Inherited from:
Function1