SepEndBy

jaskell.parsec.SepEndBy
class SepEndBy[E, T](val parser: Parsec[E, T], val sep: Parsec[E, _]) extends Parsec[E, Seq[T]]

SepEndBy p sep parses zero or more occurrences of p, separated and optionally ended by sep, ie. haskell style statements. Returns a seq of values returned by p.

Attributes

Version:

1.0.0

Graph
Supertypes
trait Parsec[E, Seq[T]]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

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

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Parsec
def <|>[R >: Seq[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 >: Seq[T]](state: State[E]): Iterator[A, R]

Attributes

Inherited from:
Parsec

Concrete fields

val p: Attempt[E, T]
val parsec: Parsec[E, Seq[T]]
val parser: Parsec[E, T]
val sep: Parsec[E, _]
val separator: Attempt[E, Any]