Success

fastparse.Parsed$.Success
final case class Success[+T](value: T, index: Int) extends Parsed[T]

The outcome of a successful parse

Attributes

index

The index at which the parse completed at

value

The value returned by the parse

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Parsed[T]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def fold[V](onFailure: (String, Int, Extra) => V, onSuccess: (T, Int) => V): V
def get: Success[T]
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

val isSuccess: Boolean

Attributes

Inherited from:
Parsed