P

com.github.eikek.calev.internal.Parser.P
final case class P[A](run: String => Either[String, (String, A)])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def <~[B](p: P[B]): P[A]
def drain: P[Unit]
def emap[B](f: A => Either[String, B]): P[B]
def map[B](f: A => B): P[B]
def opt: P[Option[A]]
def |(alt: P[A]): P[A]
def ~[B](p: P[B]): P[(A, B)]
def ~>[B](p: P[B]): P[B]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product