Resumable

enum Resumable[S, A]

A result type for a parser that may be able to be resumed with additional input

A result type for a parser that may be able to be resumed with additional input

  • A is the type of output
  • S is the type of suspended output
Companion
object
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case Suspended[S, A]

Type members

Enum entries

case Finished[S, A](result: Result[A])

Parser has finished with its' input

Parser has finished with its' input

case Suspended[S, A](parser: Suspendable[S, S], partialResult: S, semigroup: Semigroup[S], continuation: Continuation[S, S, A]) extends Resumable[S, A]

Successfully parsed all input and is expecting additional input

Successfully parsed all input and is expecting additional input