webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
JSC::Bindings::ObjcInstance Class Reference

#include <objc_instance.h>

Inheritance diagram for JSC::Bindings::ObjcInstance:
JSC::Bindings::Instance

Public Member Functions

virtual ~ObjcInstance ()
 
virtual ClassgetClass () const
 
virtual JSValue valueOf (ExecState *) const
 
virtual JSValue defaultValue (ExecState *, PreferredPrimitiveType) const
 
virtual JSValue getMethod (ExecState *, PropertyName)
 
JSValue invokeObjcMethod (ExecState *, ObjcMethod *method)
 
virtual JSValue invokeMethod (ExecState *, RuntimeMethod *method)
 
virtual bool supportsInvokeDefaultMethod () const
 
virtual JSValue invokeDefaultMethod (ExecState *)
 
JSValue getValueOfUndefinedField (ExecState *, PropertyName) const
 
virtual bool setValueOfUndefinedField (ExecState *, PropertyName, JSValue)
 
ObjectStructPtr getObject () const
 
JSValue stringValue (ExecState *) const
 
JSValue numberValue (ExecState *) const
 
JSValue booleanValue () const
 
- Public Member Functions inherited from JSC::Bindings::Instance
WEBCORE_EXPORT Instance (RefPtr< RootObject > &&)
 
void begin ()
 
void end ()
 
WEBCORE_EXPORT JSObjectcreateRuntimeObject (ExecState *)
 
void willInvalidateRuntimeObject ()
 
virtual bool supportsConstruct () const
 
virtual JSValue invokeConstruct (ExecState *, const ArgList &)
 
virtual void getPropertyNames (ExecState *, PropertyNameArray &)
 
RootObjectrootObject () const
 
virtual WEBCORE_EXPORT ~Instance ()
 
virtual bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
virtual bool put (JSObject *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
WEBCORE_EXPORT Instance (RefPtr< RootObject > &&)
 
void begin ()
 
void end ()
 
WEBCORE_EXPORT JSObjectcreateRuntimeObject (ExecState *)
 
void willInvalidateRuntimeObject ()
 
virtual bool supportsConstruct () const
 
virtual JSValue invokeConstruct (ExecState *, const ArgList &)
 
virtual void getPropertyNames (ExecState *, PropertyNameArray &)
 
RootObjectrootObject () const
 
virtual WEBCORE_EXPORT ~Instance ()
 
virtual bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
virtual bool put (JSObject *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 

Static Public Member Functions

static RefPtr< ObjcInstancecreate (ObjectStructPtr, RefPtr< RootObject > &&)
 
static void setGlobalException (NSString *, JSGlobalObject *exceptionEnvironment=0)
 

Protected Member Functions

virtual void virtualBegin ()
 
virtual void virtualEnd ()
 

Friends

class ObjcField
 

Additional Inherited Members

- Protected Attributes inherited from JSC::Bindings::Instance
RefPtr< RootObjectm_rootObject
 

Constructor & Destructor Documentation

◆ ~ObjcInstance()

ObjcInstance::~ObjcInstance ( )
virtual

Member Function Documentation

◆ booleanValue()

JSC::JSValue ObjcInstance::booleanValue ( ) const

◆ create()

RefPtr< ObjcInstance > ObjcInstance::create ( ObjectStructPtr  ,
RefPtr< RootObject > &&   
)
static

◆ defaultValue()

JSC::JSValue ObjcInstance::defaultValue ( ExecState exec,
PreferredPrimitiveType  hint 
) const
virtual

◆ getClass()

Bindings::Class * ObjcInstance::getClass ( ) const
virtual

◆ getMethod()

JSC::JSValue ObjcInstance::getMethod ( ExecState exec,
PropertyName  propertyName 
)
virtual

◆ getObject()

ObjectStructPtr JSC::Bindings::ObjcInstance::getObject ( ) const
inline

◆ getValueOfUndefinedField()

JSC::JSValue ObjcInstance::getValueOfUndefinedField ( ExecState exec,
PropertyName  propertyName 
) const

◆ invokeDefaultMethod()

JSC::JSValue ObjcInstance::invokeDefaultMethod ( ExecState exec)
virtual

Reimplemented from JSC::Bindings::Instance.

◆ invokeMethod()

JSC::JSValue ObjcInstance::invokeMethod ( ExecState exec,
RuntimeMethod method 
)
virtual

◆ invokeObjcMethod()

JSC::JSValue ObjcInstance::invokeObjcMethod ( ExecState exec,
ObjcMethod method 
)

◆ numberValue()

JSC::JSValue ObjcInstance::numberValue ( ExecState ) const

◆ setGlobalException()

void ObjcInstance::setGlobalException ( NSString exception,
JSGlobalObject exceptionEnvironment = 0 
)
static

◆ setValueOfUndefinedField()

bool ObjcInstance::setValueOfUndefinedField ( ExecState exec,
PropertyName  propertyName,
JSValue  aValue 
)
virtual

Reimplemented from JSC::Bindings::Instance.

◆ stringValue()

JSC::JSValue ObjcInstance::stringValue ( ExecState exec) const

◆ supportsInvokeDefaultMethod()

bool ObjcInstance::supportsInvokeDefaultMethod ( ) const
virtual

Reimplemented from JSC::Bindings::Instance.

◆ valueOf()

JSC::JSValue ObjcInstance::valueOf ( ExecState exec) const
virtual

◆ virtualBegin()

void ObjcInstance::virtualBegin ( )
protectedvirtual

Reimplemented from JSC::Bindings::Instance.

◆ virtualEnd()

void ObjcInstance::virtualEnd ( )
protectedvirtual

Reimplemented from JSC::Bindings::Instance.

Friends And Related Function Documentation

◆ ObjcField

friend class ObjcField
friend

The documentation for this class was generated from the following files: