sjm.examples.robot
Class RobotRefactored
java.lang.Object
|
+--sjm.examples.robot.RobotRefactored
- public class RobotRefactored
- extends java.lang.Object
Provide an example of a class that affords a parser for
the "robot" command language. This class is a refactored
version of the RobotMonolithic class, with
one method for each subparser in the robot language.
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RobotRefactored
public RobotRefactored()
command
public Parser command()
location
protected Parser location()
pickCommand
protected Parser pickCommand()
placeCommand
protected Parser placeCommand()
scanCommand
protected Parser scanCommand()