removed dependency on FESI.gui
This commit is contained in:
parent
fd4cacb4a9
commit
098baf9c49
1 changed files with 7 additions and 3 deletions
|
@ -21,7 +21,8 @@ import FESI.Parser.*;
|
||||||
import FESI.AST.*;
|
import FESI.AST.*;
|
||||||
import FESI.Extensions.Extension;
|
import FESI.Extensions.Extension;
|
||||||
import FESI.Extensions.BasicIOInterface;
|
import FESI.Extensions.BasicIOInterface;
|
||||||
import FESI.gui.*;
|
// no GUI needed for Hop
|
||||||
|
// import FESI.gui.*;
|
||||||
import FESI.Data.*;
|
import FESI.Data.*;
|
||||||
import FESI.Exceptions.*;
|
import FESI.Exceptions.*;
|
||||||
|
|
||||||
|
@ -39,7 +40,7 @@ import java.util.Properties;
|
||||||
* evolve over time. It may be preferable to write interpreters from scratchs
|
* evolve over time. It may be preferable to write interpreters from scratchs
|
||||||
* using this one as an example.
|
* 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
|
// Most of the data is protected to allow subclassing the
|
||||||
// interpreter. They should NOT be used from other classses
|
// 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(" -v display version even if not interactive");
|
||||||
errorStream.println(" -e ext Load the extension class ext");
|
errorStream.println(" -e ext Load the extension class ext");
|
||||||
errorStream.println(" -T file Process an estest file, exit 1 if any failure");
|
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(" -h file Expand the script in an html file");
|
||||||
errorStream.println(" -D turnon all debug flags");
|
errorStream.println(" -D turnon all debug flags");
|
||||||
errorStream.println(" -f file Load and execute the specified file");
|
errorStream.println(" -f file Load and execute the specified file");
|
||||||
|
@ -610,6 +612,7 @@ public class Interpret implements InterpreterCommands {
|
||||||
break OUTTHREE;
|
break OUTTHREE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
} // for
|
} // for
|
||||||
continue OUTTHREE;
|
continue OUTTHREE;
|
||||||
} // starts with -
|
} // starts with -
|
||||||
|
@ -1380,6 +1383,7 @@ public class Interpret implements InterpreterCommands {
|
||||||
};
|
};
|
||||||
new Command("listAll", "List all properties of the object") {
|
new Command("listAll", "List all properties of the object") {
|
||||||
boolean doCommand(Interpret interpreter, String parameter) {
|
boolean doCommand(Interpret interpreter, String parameter) {
|
||||||
|
|
||||||
interpreter.listAllProperties(parameter);
|
interpreter.listAllProperties(parameter);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue