| Constructor and Description |
|---|
JsContextStub(RhinoContextProxy rcp,
org.mozilla.javascript.debug.DebugFrame frame,
int frameno)
JsContextStub constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
JsObject |
bind(java.lang.String id) |
JsCode |
getCode() |
int |
getDepth() |
JsEngine |
getEngine() |
int |
getLineNumber() |
JsObject |
getScope()
Scope of a context.
|
java.lang.String |
getSourceName() |
JsObject |
getThis() |
boolean |
isEvalContext() |
boolean |
isFunctionContext() |
boolean |
isScriptContext() |
java.lang.Object |
lookupName(org.mozilla.javascript.Scriptable scopeChain,
java.lang.String id)
Looks up a name in the scope chain and returns its value.
|
java.lang.Object |
lookupName(java.lang.String name) |
addListener, allocOid, completeFuture, createFuture, equals, getTid, getUid, hasNoUid, removeListener, suspendFuturepublic JsContextStub(RhinoContextProxy rcp, org.mozilla.javascript.debug.DebugFrame frame, int frameno) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic JsObject bind(java.lang.String id) throws java.rmi.RemoteException
public int getLineNumber()
getLineNumber in interface JsContextpublic JsObject getScope() throws java.rmi.RemoteException
JsContextpublic java.lang.String getSourceName()
getSourceName in interface JsContextpublic JsObject getThis() throws java.rmi.RemoteException
public boolean isEvalContext()
public boolean isFunctionContext()
public boolean isScriptContext()
public java.lang.Object lookupName(java.lang.String name)
public java.lang.Object lookupName(org.mozilla.javascript.Scriptable scopeChain,
java.lang.String id)