frysk.hpd
Class EvalCommands
java.lang.Object
frysk.hpd.Command
frysk.hpd.ParameterizedCommand
frysk.hpd.EvalCommands
- Direct Known Subclasses:
- EvalCommands.Assign, EvalCommands.Print
abstract class EvalCommands
- extends ParameterizedCommand
Evaluate an expression; in various forms.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvalCommands
EvalCommands(String description,
String syntax,
String full)
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
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
eval
private static void eval(CLI cli,
PTSet ptset,
String expression,
EvalCommands.Options options)