CommonState

jaskell.parsec.CommonState
class CommonState[T](val content: Seq[T]) extends State[T]

Common State has int status and transaction market. It can apply to Seq[T] or any serial collection.

Attributes

Version:

1.0.0

Graph
Supertypes
trait State[T]
class Object
trait Matchable
class Any
Known subtypes
class TxtState

Members list

Concise view

Type members

Types

override type Status = Int
override type Tran = Int

Inherited types

type Index

Attributes

Inherited from:
State

Value members

Concrete methods

def begin(): Tran
def begin(tran: Tran): Tran
def commit(tran: Tran): Unit
def next(): Try[T]
def rollback(tran: Tran): Unit

Inherited methods

def eof[U >: T]: Parsec[U, Unit]

Attributes

Inherited from:
State
def pack[T, U >: T](item: T): Parsec[U, T]

Attributes

Inherited from:
State
def trap[T](message: String): Failure[T]

Attributes

Inherited from:
State

Concrete fields

val content: Seq[T]
var current: Int
var tran: Int