From 098baf9c498506588daa07ab4d264062a55fef89 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 9 Feb 2001 18:46:44 +0000 Subject: [PATCH] removed dependency on FESI.gui --- src/FESI/Interpreter/Interpret.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/FESI/Interpreter/Interpret.java b/src/FESI/Interpreter/Interpret.java index 2bda3f57..3aa6584e 100644 --- a/src/FESI/Interpreter/Interpret.java +++ b/src/FESI/Interpreter/Interpret.java @@ -21,7 +21,8 @@ import FESI.Parser.*; import FESI.AST.*; import FESI.Extensions.Extension; import FESI.Extensions.BasicIOInterface; -import FESI.gui.*; +// no GUI needed for Hop +// import FESI.gui.*; import FESI.Data.*; import FESI.Exceptions.*; @@ -39,7 +40,7 @@ import java.util.Properties; * evolve over time. It may be preferable to write interpreters from scratchs * using this one as an example. */ -public class Interpret implements InterpreterCommands { +public class Interpret { // removed implements InterpreterCommands // Most of the data is protected to allow subclassing the // interpreter. They should NOT be used from other classses @@ -312,6 +313,7 @@ public class Interpret implements InterpreterCommands { errorStream.println(" -v display version even if not interactive"); errorStream.println(" -e ext Load the extension class ext"); errorStream.println(" -T file Process an estest file, exit 1 if any failure"); + errorStream.println(" -h file Expand the script in an html file"); errorStream.println(" -D turnon all debug flags"); errorStream.println(" -f file Load and execute the specified file"); @@ -610,6 +612,7 @@ public class Interpret implements InterpreterCommands { break OUTTHREE; } + } // for continue OUTTHREE; } // starts with - @@ -1380,6 +1383,7 @@ public class Interpret implements InterpreterCommands { }; new Command("listAll", "List all properties of the object") { boolean doCommand(Interpret interpreter, String parameter) { + interpreter.listAllProperties(parameter); return false; } @@ -1523,4 +1527,4 @@ abstract class Command { * @return true if the interpreter must exit */ abstract boolean doCommand(Interpret interpreter, String parameter); -} \ No newline at end of file +}