| java.lang.Object org.openjx.jx.JXControl org.openjx.jx.jxscriptCTL
jxscriptCTL | public class jxscriptCTL extends JXControl (Code) | | This is the control class for the jxscript otherwise known as the
JXScript.
author: Jared Spigner |
Method Summary | |
public boolean | Compile(JXObject jxObject) This method is called when the compiler wishes to compile the
component into Java code.
Parameters: jxObject - points to the JXObject in the stack we wish to compileinto Java. | public boolean | Interpret(JXObject jxObject) This method is called when the interpreter wishes to interpret the
component's script into Java code.
Parameters: jxObject - points to the JXObject in the stack we wish to interpretinto Java. |
jxscriptCTL | public jxscriptCTL(VirtualMachine vm)(Code) | | This is the constructor for the jxscriptCTL class. It creates a new
instance of jxscriptCTL.
Parameters: vm - points to an instance of the Virtual Machine. |
Compile | public boolean Compile(JXObject jxObject)(Code) | | This method is called when the compiler wishes to compile the
component into Java code.
Parameters: jxObject - points to the JXObject in the stack we wish to compileinto Java. true on success, else false on failure. |
Interpret | public boolean Interpret(JXObject jxObject)(Code) | | This method is called when the interpreter wishes to interpret the
component's script into Java code.
Parameters: jxObject - points to the JXObject in the stack we wish to interpretinto Java. true on success, else false on failure. |
|
|