frysk.hpd
Class ListCommand

java.lang.Object
  extended by frysk.hpd.Command
      extended by frysk.hpd.ParameterizedCommand
          extended by frysk.hpd.ListCommand

 class ListCommand
extends ParameterizedCommand

Implement the "list" source command.


Nested Class Summary
private static class ListCommand.Options
           
 
Field Summary
private  DebugInfoFrame currentFrame
           
private  int exec_line
           
private  File file
           
private  int line
           
 
Constructor Summary
ListCommand()
           
 
Method Summary
(package private)  int completer(CLI cli, Input input, int cursor, List candidates)
          Complete the command's parameters.
(package private)  void interpret(CLI cli, Input cmd, Object o)
          Interpret command, using options.
private  void listOneTask(CLI cli, Input cmd, TaskData taskData, int windowSize)
           
(package private)  Object options()
          Return the options object (or null) which will be passed to each command option parser.
private  int parseFunctionName(String cmdParm, File file, CLI cli, TaskData taskData)
           
 
Methods inherited from class frysk.hpd.ParameterizedCommand
add, complete, help, interpret
 
Methods inherited from class frysk.hpd.Command
description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentFrame

private DebugInfoFrame currentFrame

file

private File file

line

private int line

exec_line

private int exec_line
Constructor Detail

ListCommand

ListCommand()
Method Detail

options

Object options()
Description copied from class: ParameterizedCommand
Return the options object (or null) which will be passed to each command option parser.

Overrides:
options in class ParameterizedCommand

interpret

void interpret(CLI cli,
               Input cmd,
               Object o)
Description copied from class: ParameterizedCommand
Interpret command, using options.

Specified by:
interpret in class ParameterizedCommand

completer

int completer(CLI cli,
              Input input,
              int cursor,
              List candidates)
Description copied from class: ParameterizedCommand
Complete the command's parameters.

Specified by:
completer in class ParameterizedCommand

listOneTask

private void listOneTask(CLI cli,
                         Input cmd,
                         TaskData taskData,
                         int windowSize)

parseFunctionName

private int parseFunctionName(String cmdParm,
                              File file,
                              CLI cli,
                              TaskData taskData)