Result

enum Result[+A]

The result type for a Parser

The result type for a Parser

trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Enum entries

case Committed[+A](input: String, start: Int, offset: Int)

Parsed up to and including one character before the given offset and failed

Parsed up to and including one character before the given offset and failed

case Continue[+A](result: A, input: String, start: Int)

Successfully parsed up to the end of input and could continue parsing if more input was made available.

Successfully parsed up to the end of input and could continue parsing if more input was made available.

case Epsilon[+A](input: String, start: Int)

Parsed nothing starting at the given position in the input

Parsed nothing starting at the given position in the input

case Success[+A](result: A, input: String, start: Int, offset: Int)

Successfully parsed input up to and including one character before the given offset as result

Successfully parsed input up to and including one character before the given offset as result