com.codahale.jerkson.util.scalax.rules

StateRules

trait StateRules extends AnyRef

A factory for rules that apply to a particular context.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. StateRules
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. type Rule[+A, +X] = Rule[S, S, A, X]

  2. abstract type S

Abstract Value Members

  1. abstract val factory: Rules

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def allOf[A, X](rules: Seq[Rule[A, X]]): (S) ⇒ Result[S, List[A], X]

    Create a rule that succeeds if all of the given rules succeed.

    Create a rule that succeeds if all of the given rules succeed.

    rules

    the rules to apply in sequence.

  7. def anyOf[A, X](rules: Seq[Rule[A, X]]): Rule[S, S, List[A], X]

    Create a rule that succeeds with a list of all the provided rules that succeed.

    Create a rule that succeeds with a list of all the provided rules that succeed.

    rules

    the rules to apply in sequence.

  8. def apply[A, X](f: (S) ⇒ Result[S, A, X]): Rule[S, S, A, X]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def cond(f: (S) ⇒ Boolean): Rule[S, S, S, Nothing]

    Create a rule that identities if f(in) is true.

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def get: Rule[S, S, S, Nothing]

  16. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def nil: Rule[S, S, scala.collection.immutable.Nil.type, Nothing]

  21. def none: Rule[S, S, None.type, Nothing]

  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def read[A](f: (S) ⇒ A): Rule[S, S, A, Nothing]

  25. def repeatUntil[T, X](rule: Rule[(T) ⇒ T, X])(finished: (T) ⇒ Boolean)(initial: T): Rule[S, S, T, X]

    Repeatedly apply a rule from initial value until finished condition is met.

  26. def set(s: ⇒ S): Rule[S, S, S, Nothing]

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def unit[A](a: ⇒ A): Rule[S, S, A, Nothing]

  30. def update(f: (S) ⇒ S): Rule[S, S, S, Nothing]

  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any