Map

case Map[A, B](source: Parser[A], f: A => B) extends Parser[B]

Value members

Inherited methods

def *>[S, B](that: Suspendable[S, B]): Suspendable[S, B]
Inherited from
Parser
def *>[B](that: Parser[B]): Parser[B]
Inherited from
Parser
def <*[S, B](that: Suspendable[S, B]): Suspendable[S, B]
Inherited from
Parser
def <*[B](that: Parser[B]): Parser[B]
Inherited from
Parser
def advance[S]: Suspendable[S, B]
Inherited from
Parser
def as[B](b: B): Parser[B]
Inherited from
Parser
def map[B](f: B => B): Parser[B]
Inherited from
Parser
def orElse(that: Parser[B]): Parser[B]
Inherited from
Parser
def parse(input: String, offset: Int): Result[B]
Inherited from
Parser
def parseOrExn(input: String): B
Inherited from
Parser
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def resume(using semigroup: Semigroup[B], ev: String =:= B): Suspendable[B, B]
Inherited from
Parser
def resumeWith(f: String => B)(using semigroup: Semigroup[B]): Suspendable[B, B]
Inherited from
Parser
def unsuspendable[S]: Suspendable[S, B]
Inherited from
Parser
def void: Parser[Unit]
Inherited from
Parser
def ~[S, B](that: Suspendable[S, B]): Suspendable[S, (B, B)]
Inherited from
Parser
def ~[B](that: Parser[B]): Parser[(B, B)]
Inherited from
Parser