public abstract class ScriptEnvironment<CG extends ChoiceGenerator<?>> extends Object implements StateExtensionClient<gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot>
| Constructor and Description |
|---|
ScriptEnvironment(String fname) |
ScriptEnvironment(String name,
Reader r) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CG |
createCGFromEvents(String id,
List<Event> events) |
CG |
getNext(String id) |
CG |
getNext(String id,
String[] activeStates) |
CG |
getNext(String id,
String[] activeStates,
BitSet isReEntered) |
gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot |
getStateExtension() |
void |
parseScript() |
void |
registerListener(JPF jpf) |
void |
restore(gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot stateExtension) |
public ScriptEnvironment(String fname) throws FileNotFoundException
FileNotFoundExceptionpublic void parseScript()
throws ESParser.Exception
ESParser.Exceptionpublic gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot getStateExtension()
getStateExtension in interface StateExtensionClient<gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot>public void restore(gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot stateExtension)
restore in interface StateExtensionClient<gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot>public void registerListener(JPF jpf)
registerListener in interface StateExtensionClient<gov.nasa.jpf.util.script.ScriptEnvironment.ActiveSnapshot>