Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package kiama

    Kiama is a Scala library for language processing.

    Kiama is a Scala library for language processing. It is a project of the Programming Languages Research Group at Macquarie University. For full project details see the web site http://kiama.googlecode.com.

    Kiama's main components address tree decoration via attribute grammars (package attribution), tree transformation via strategic term rewriting (package rewriting), dynamic semantics (package machine) and pretty-printing (package output).

    The util package contains support modules for parsing, input/output, read-eval-print loops (REPLs) and pattern matching.

    The examples package (available as part of the Kiama tests) contains many examples of using Kiama to solve small to medium language processing problems.

    Definition Classes
    org
  • package machine
    Definition Classes
    kiama
  • abstract class Machine extends PrettyPrinter

    A deterministic abstract state machine defined by its main rule and called name.

    A deterministic abstract state machine defined by its main rule and called name. Tracing messages are output to the given emitter, which defaults to standard error. You should avoid accessing a single machine frmom multiple threads since the machine encapsulates state and updates. Machines are designed to be used in a single-threaded fashion.

    Definition Classes
    machine
  • Doc
  • DocOps
  • ParamState
  • ParamUpdate
  • ParamUpdater
  • PrettyPrintable
  • ScalarUpdate
  • State
  • Update

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. State
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new State(sname: String)

Value Members

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

  4. 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.

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. var _value: Option[T]

    The value of this item of state.

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

    Attributes
    protected
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. 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.

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isUndefined: Boolean

    Is this state item undefined or not?

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. val sname: String
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. 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
  23. def undefine(): Unit

    Make this state item undefined.

  24. 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.

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

Inherited from AnyRef

Inherited from Any

Ungrouped