public class DefaultStringEvaluator extends Object implements StringEvaluator
Constructor and Description |
---|
DefaultStringEvaluator() |
Modifier and Type | Method and Description |
---|---|
String[] |
completeCommand(String Script)
Given a partial script part, completeCommand returns an array
of possible completions.
|
InterpreterResult |
evaluate(String script)
The result of evaluating a string is another string together
with a boolean telling whether it is a regular result or an
error message.
|
public String[] completeCommand(String Script)
StringEvaluator
completeCommand
in interface StringEvaluator
public InterpreterResult evaluate(String script)
StringEvaluator
evaluate
in interface StringEvaluator