Class inria.meije.rc.sugarcubes.EventDecl
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class inria.meije.rc.sugarcubes.EventDecl

java.lang.Object
   |
   +----inria.meije.rc.sugarcubes.Instruction
           |
           +----inria.meije.rc.sugarcubes.UnaryInstruction
                   |
                   +----inria.meije.rc.sugarcubes.EventDecl

public class EventDecl
extends UnaryInstruction
This instruction declares a local event in its body.

Variable Index

 o internal
 o internalName
The local event is stored in internal

Constructor Index

 o EventDecl(String, Instruction)

Method Index

 o activation(Machine)
Specific activation.
 o clone()
Instruction implements cloneable.
 o equals(Instruction)
Equality of two instructions implies that they are of the same type.
 o remain(Machine)
Specific residual method.
 o reset()
To reset the instruction.
 o toString()
Instructions can be converted to strings.

Variables

 o internalName
  protected String internalName
The local event is stored in internal
 o internal
  protected Event internal

Constructors

 o EventDecl
  public EventDecl(String internalName,
                   Instruction body)

Methods

 o reset
  public void reset()
To reset the instruction.
Overrides:
reset in class UnaryInstruction
 o clone
  public Object clone()
Instruction implements cloneable.
Overrides:
clone in class UnaryInstruction
 o equals
  public final boolean equals(Instruction inst)
Equality of two instructions implies that they are of the same type.
Overrides:
equals in class UnaryInstruction
 o toString
  public final String toString()
Instructions can be converted to strings.
Overrides:
toString in class Instruction
 o remain
  protected Instruction remain(Machine machine)
Specific residual method.
Overrides:
remain in class Instruction
 o activation
  protected final byte activation(Machine machine)
Specific activation.
Overrides:
activation in class Instruction

All Packages  Class Hierarchy  This Package  Previous  Next  Index