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
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
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
InstructionDescription
InstructionDescription(int delayBefore,
int line,
NameSpaceDescription nsd)
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