com.ashridgetech.saxon.debugger
Class MoveCommand

java.lang.Object
  |
  +--com.ashridgetech.saxon.debugger.CommandInterface.Command
        |
        +--com.ashridgetech.saxon.debugger.MoveCommand

public class MoveCommand
extends CommandInterface.Command

Move to a given numbered stack frame, or up 1 if no argument, or to current stack frame if "current" given.


Field Summary
protected static int CURRENT
           
protected  int frameNumber
           
protected static int UP_ONE
           
 
Fields inherited from class com.ashridgetech.saxon.debugger.CommandInterface.Command
abbreviation, name, text
 
Constructor Summary
MoveCommand()
           
MoveCommand(String text)
           
 
Method Summary
 void execute(SimpleDebugger debugger, CommandInterface commander)
           
protected  CommandInterface.Command makeNew(String text)
           
protected  void parse(List args)
           
 
Methods inherited from class com.ashridgetech.saxon.debugger.CommandInterface.Command
checkArgCount, create, extractArgs, extractName, getAbbreviation, getName, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frameNumber

protected int frameNumber

UP_ONE

protected static int UP_ONE

CURRENT

protected static int CURRENT
Constructor Detail

MoveCommand

public MoveCommand()

MoveCommand

public MoveCommand(String text)
            throws CommandException
Method Detail

parse

protected void parse(List args)
              throws CommandException
Overrides:
parse in class CommandInterface.Command

execute

public void execute(SimpleDebugger debugger,
                    CommandInterface commander)
             throws CommandException
Overrides:
execute in class CommandInterface.Command

makeNew

protected CommandInterface.Command makeNew(String text)
                                    throws CommandException
Overrides:
makeNew in class CommandInterface.Command


Copyright © 2002 Ashridge Technologies Ltd. All Rights Reserved.