org.kiama.machine.Machine

State

class State[T] extends AnyRef

A scalar item of abstract state machine state holding a value of type T and called sname.

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

Instance Constructors

  1. new State(sname: String)

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. def :=(t: T): Unit

    Update this item of state to the value t.

    Update this item of state to the value t. The update is actually delayed until the end of the step when all updates in that step happen simultaneously (along with consistency checking). The state value only becomes defined when this latter process happens.

  5. def =:=(t: T): Boolean

    Equality on the underlying value.

    Equality on the underlying value. If this state item is undefined then it's not equal to anything.

  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. var _value: Option[T]

    The value of this item of state.

    The value of this item of state. None means undefined.

    Attributes
    protected
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def change(t: T): Unit

    Change this item of state to the value t.

    Change this item of state to the value t. The change occurs immediately.

  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  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. final def getClass(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  18. def isUndefined: Boolean

    Is this state item undefined or not?

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. val sname: String

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

    Definition Classes
    AnyRef
  24. def toString(): String

    Make a printable representation for the contents of this state object.

    Make a printable representation for the contents of this state object.

    Definition Classes
    State → AnyRef → Any
  25. def undefine: Unit

    Make this state item undefined.

  26. def value: T

    Return the value of this state item if it's defined.

    Return the value of this state item if it's defined. Otherwise abort execution.

  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any