Packages

t

org.json4s.scalap

StateRules

trait StateRules extends AnyRef

A factory for rules that apply to a particular context.

Source
Rules.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StateRules
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

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

Abstract Value Members

  1. abstract val factory: Rules

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

  5. def anyOf[A, X](rules: Seq[Rule[A, X]]): scalap.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.

  6. def apply[A, X](f: (S) ⇒ Result[S, A, X]): scalap.Rule[S, S, A, X]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def cond(f: (S) ⇒ Boolean): scalap.Rule[S, S, S, Nothing]

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

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get: scalap.Rule[S, S, S, Nothing]
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def nil: scalap.Rule[S, S, Nil.type, Nothing]
  19. def none: scalap.Rule[S, S, None.type, Nothing]
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def read[A](f: (S) ⇒ A): scalap.Rule[S, S, A, Nothing]
  23. def repeatUntil[T, X](rule: Rule[(T) ⇒ T, X])(finished: (T) ⇒ Boolean)(initial: T): scalap.Rule[S, S, T, X]

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

  24. def set(s: ⇒ S): scalap.Rule[S, S, S, Nothing]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def unit[A](a: ⇒ A): scalap.Rule[S, S, A, Nothing]
  28. def update(f: (S) ⇒ S): scalap.Rule[S, S, S, Nothing]
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped