|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpsengines.ExecutionEngine
It describes the Execution Engine component of PS-View.
Execution engine is responsible for taking a PSObject and depending on what it is it puts in the the stack or it execute it(if it is command).
| Constructor Summary | |
ExecutionEngine(PSPath gStack)
Creates an instance of the Execution Engine. |
|
| Method Summary | |
static void |
decLoopsCnt()
Decreases the loopsCnt field. |
static void |
destroyLastArray()
Erases the last record of the executable array being processed. |
static PSObject |
execExecutableArray(PSExecArray execArray)
Retrieves a PSobject from the executable array. |
static boolean |
getExitNear()
Returns the status of the exitNear field. |
static int |
getLoopsCnt()
Returns the number of nested loops found until now. |
static void |
incLoopsCnt()
Increases the loopsCnt field. |
static void |
processPSObject(PSObject psobject)
Retrieves a PSobject from program loader and if it is a command it executes it. |
static void |
setExitNear(boolean b)
Sets the exitNear field with the value being given. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExecutionEngine(PSPath gStack)
| Method Detail |
public static void processPSObject(PSObject psobject)
throws java.lang.Throwable
psobject - The PSObject retrieved by program loader.
java.lang.Throwablepublic static PSObject execExecutableArray(PSExecArray execArray)
execArray - The executable array that was retrieved.
public static void destroyLastArray()
public static boolean getExitNear()
public static int getLoopsCnt()
public static void setExitNear(boolean b)
b - The new value.public static void incLoopsCnt()
public static void decLoopsCnt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||