engine
Class InstructionDescription

java.lang.Object
  |
  +--engine.InstructionDescription
Direct Known Subclasses:
AtInstructionDescription, BlockDescription, CaseInstructionDescription, CoutTaskDescription, DisplayTaskDescription, EmptyInstructionDescription, FinishTaskDescription, ForeverInstructionDescription, ForInstructionDescription, ForkDescription, IfInstructionDescription, ProcAssignInstrucDescription, RepeatInstructionDescription, TaskInstructionDescription, WaitInstructionDescription, WhileInstructionDescription

public abstract class InstructionDescription
extends java.lang.Object
implements java.io.Serializable

The description of an instruction (i.e. the instruction in terms of uninstantiated stuff (symbol names, module description, etc.))

See Also:
Serialized Form

Field Summary
(package private)  int delayBefore
           
(package private)  int line
          the line at wich this instruction is located
 InstructionDescription next
          the next instruction
(package private)  NameSpaceDescription nsd
          the NameSpace that contains this instruction
 
Constructor Summary
(package private) InstructionDescription(int delayBefore, int line, NameSpaceDescription nsd)
           
 
Method Summary
(package private)  void add(InstructionDescription next)
          adds 'next' to this execution queue
(package private) abstract  DefaultInstruction instantiate(NameSpace ns)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

next

public InstructionDescription next
the next instruction

delayBefore

int delayBefore

nsd

NameSpaceDescription nsd
the NameSpace that contains this instruction

line

int line
the line at wich this instruction is located
Constructor Detail

InstructionDescription

InstructionDescription(int delayBefore,
                       int line,
                       NameSpaceDescription nsd)
Method Detail

add

void add(InstructionDescription next)
adds 'next' to this execution queue

instantiate

abstract DefaultInstruction instantiate(NameSpace ns)
                                 throws ParseException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object