org.mozilla.javascript

Class IdFunctionObject

public class IdFunctionObject extends BaseFunction

Constructor Summary
IdFunctionObject(IdFunctionCall idcall, Object tag, int id, int arity)
IdFunctionObject(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope)
Method Summary
voidaddAsProperty(Scriptable target)
Objectcall(Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
ScriptablecreateObject(Context cx, Scriptable scope)
voidexportAsScopeProperty()
intgetArity()
StringgetFunctionName()
intgetLength()
ScriptablegetPrototype()
booleanhasTag(Object tag)
voidinitFunction(String name, Scriptable scope)
voidmarkAsConstructor(Scriptable prototypeProperty)
intmethodId()
RuntimeExceptionunknown()

Constructor Detail

IdFunctionObject

public IdFunctionObject(IdFunctionCall idcall, Object tag, int id, int arity)

IdFunctionObject

public IdFunctionObject(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope)

Method Detail

addAsProperty

public final void addAsProperty(Scriptable target)

call

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

createObject

public Scriptable createObject(Context cx, Scriptable scope)

exportAsScopeProperty

public void exportAsScopeProperty()

getArity

public int getArity()

getFunctionName

public String getFunctionName()

getLength

public int getLength()

getPrototype

public Scriptable getPrototype()

hasTag

public final boolean hasTag(Object tag)

initFunction

public void initFunction(String name, Scriptable scope)

markAsConstructor

public final void markAsConstructor(Scriptable prototypeProperty)

methodId

public final int methodId()

unknown

public final RuntimeException unknown()