Choice

jaskell.parsec.Choice
case class Choice[E, T](parsecs: Seq[Parsec[E, T]]) extends Parsec[E, T]

Choice just the operator <|> in Haskell parsec

Attributes

Version:

1.0.0

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Parsec[E, T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def apply(s: State[E]): Try[T]

Attributes

Definition Classes

Inherited methods

def !(state: State[E]): B

Attributes

Inherited from:
Parsec
def <?>[C >: T](message: String): Parsec[A, C]

Attributes

Inherited from:
Parsec
def <|>[R >: T](p: Parsec[E, R]): Parsec[A, R]

Attributes

Inherited from:
Parsec
def ?(state: State[E]): Try[B]

Attributes

Inherited from:
Parsec
def attempt: Parsec[A, B]

Attributes

Inherited from:
Parsec
def iterate[R >: T](state: State[E]): Iterator[A, R]

Attributes

Inherited from:
Parsec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product