Between

class Between[E, T](val open: Parsec[E, _], val close: Parsec[E, _], val parsec: Parsec[E, T]) extends Parsec[E, T]

Between parse the open parser, and then sub parser, and then close parser, return sub parser result if success.

Between parse the open parser, and then sub parser, and then close parser, return sub parser result if success.

Authors

mars

Version

1.0.0

Companion
object
trait Parsec[E, T]
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Inherited methods

def !(state: State[E]): T
Inherited from
Parsec
def <|>[R >: T](p: Parsec[E, R]): Parsec[E, R]
Inherited from
Parsec
def ?(state: State[E]): Try[T]
Inherited from
Parsec
def attempt: Parsec[E, T]
Inherited from
Parsec
def iterate[R >: T](state: State[E]): Iterator[E, R]
Inherited from
Parsec

Concrete fields

val close: Parsec[E, _]
val open: Parsec[E, _]
val parsec: Parsec[E, T]