|
|||||||||
| Home >> All >> org >> apache >> bsf >> debug >> [ jsdi overview ] | PREV NEXT | ||||||||
Uses of Interface
org.apache.bsf.debug.jsdi.JsObject
| Uses of JsObject in org.apache.bsf.debug.jsdi |
| Subinterfaces of JsObject in org.apache.bsf.debug.jsdi | |
interface |
JsCode
This interface exposes debugging information from executable code (either functions or top-level scripts). |
interface |
JsFunction
Represents a function in the engine since JavaScript has code as first-class objects. |
interface |
JsScript
Represents a script in the engine since JavaScript has code as first-class objects. |
| Methods in org.apache.bsf.debug.jsdi that return JsObject | |
JsObject |
JsEngine.getGlobalObject()
Any execution in JavaScript happen with respect to a global object, sort of the top-level name space for properties. |
JsObject |
JsEngine.getUndefinedValue()
As per ECMA specification, each JavaScript execution defines a unique object for the undefined value. |
JsObject |
JsObject.getPrototype()
Get the prototype of the object. |
JsObject |
JsObject.getScope()
The scope is for supporting two things. |
JsObject |
JsFunction.construct(JsContext cx,
JsObject scope,
java.lang.Object[] args)
Call the function as a constructor. |
JsObject |
JsContext.bind(java.lang.String id)
|
JsObject |
JsContext.getScope()
Scope of a context. |
JsObject |
JsContext.getThis()
|
| Methods in org.apache.bsf.debug.jsdi with parameters of type JsObject | |
boolean |
JsObject.hasInstance(JsObject instance)
The instanceof operator. |
void |
JsObject.setPrototype(JsObject prototype)
Set the prototype of the object. |
void |
JsObject.setScope(JsObject scope)
Set the prototype of the object. |
java.lang.Object |
JsScript.exec(JsContext cx,
JsObject scope)
Execute the script. |
java.lang.Object |
JsFunction.call(JsContext cx,
JsObject scope,
JsObject thisObj,
java.lang.Object[] args)
Call the function. |
JsObject |
JsFunction.construct(JsContext cx,
JsObject scope,
java.lang.Object[] args)
Call the function as a constructor. |
|
|||||||||
| Home >> All >> org >> apache >> bsf >> debug >> [ jsdi overview ] | PREV NEXT | ||||||||