scala.tools.scalap.scalax.rules

StateRules

trait StateRules extends AnyRef

A factory for rules that apply to a particular context.

Source
Rules.scala
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. type S

    Attributes
    abstract

Abstract Value Members

  1. val factory : Rules

    Attributes
    abstract

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    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. def asInstanceOf [T0] : T0

    Attributes
    final
    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. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    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. def getClass (): java.lang.Class[_]

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

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

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

    Attributes
    final
    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. def notify (): Unit

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

    Attributes
    final
    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. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    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. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any