All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class duckMachine.operatingSystem.stepCommand

java.lang.Object
   |
   +----duckMachine.operatingSystem.ShellCommand
           |
           +----duckMachine.operatingSystem.stepCommand

public class stepCommand
extends ShellCommand
The step command of the shell. The command takes a visitor file, creates a visitor object, and calls the appropriate method in the machine.


Constructor Index

 o stepCommand(String)

Method Index

 o execCommand(MachineI)

Constructors

 o stepCommand
 public stepCommand(String f) throws VisitorFileE
Throws: VisitorFileE
If the file is not found.

Methods

 o execCommand
 public void execCommand(MachineI mach) throws ShellE
Throws: ShellE
If an error occurs during the processing of the visitor file or during the execution of the instruction.
Overrides:
execCommand in class ShellCommand

All Packages  Class Hierarchy  This Package  Previous  Next  Index