org.mozilla.javascript.continuations

Class Continuation

public final class Continuation extends IdScriptableObject implements Function

Method Summary
Objectcall(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
Scriptableconstruct(Context cx, Scriptable scope, Object[] args)
ObjectexecIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
protected intfindPrototypeId(String s)
StringgetClassName()
ObjectgetImplementation()
static voidinit(Scriptable scope, boolean sealed)
voidinitImplementation(Object implementation)
protected voidinitPrototypeId(int id)
static booleanisContinuationConstructor(IdFunctionObject f)

Method Detail

call

public Object call(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)

construct

public Scriptable construct(Context cx, Scriptable scope, Object[] args)

execIdCall

public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)

findPrototypeId

protected int findPrototypeId(String s)

getClassName

public String getClassName()

getImplementation

public Object getImplementation()

init

public static void init(Scriptable scope, boolean sealed)

initImplementation

public void initImplementation(Object implementation)

initPrototypeId

protected void initPrototypeId(int id)

isContinuationConstructor

public static boolean isContinuationConstructor(IdFunctionObject f)