org.apache.bsf.debug.jsdi
Interface JsContext
public
interface
JsContext
extends Remote
public int getDepth()
public int getLineNumber()
Scope of a context.
See ECMA 262, 3rd edition, 10.1.6 through 10.1.8
The scope depends on if the context represents global code,
eval code, or function code.
Global Code:
The scope chain is cerated and initialised to contain the global objects
and no others.
Eval Code:
The scope chain is initialized to contains the same scope chain as
the calling context. This includes the same activation object and
therefore the same arguments and local variables.
Function Code:
The scope chain is initialised to contain the activation object
followed by the objects in the scope chain stored in the [[Scope]]
property of the Function object.
public String getSourceName()