webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
JSC::JSCallbackObject< Parent > Class Template Reference

#include <JSCallbackObject.h>

Inheritance diagram for JSC::JSCallbackObject< Parent >:

Public Types

typedef Parent Base
 

Public Member Functions

 ~JSCallbackObject ()
 
void setPrivate (void *data)
 
voidgetPrivate ()
 
JSClassRef classRef () const
 
bool inherits (JSClassRef) const
 
JSValue getPrivateProperty (const Identifier &propertyName) const
 
void setPrivateProperty (VM &vm, const Identifier &propertyName, JSValue value)
 
void deletePrivateProperty (const Identifier &propertyName)
 
template<>
const ClassInfo s_info
 
template<>
const ClassInfo s_info
 
template<>
const bool needsDestruction
 
template<>
const bool needsDestruction
 
template<>
JSCallbackObject< JSGlobalObject > * create (VM &vm, JSClassRef classRef, Structure *structure)
 
template<>
StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto)
 
template<>
StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto)
 

Static Public Member Functions

static JSCallbackObjectcreate (ExecState *exec, JSGlobalObject *globalObject, Structure *structure, JSClassRef classRef, void *data)
 
static JSCallbackObject< Parent > * create (VM &, JSClassRef, Structure *)
 
static void destroy (JSCell *cell)
 
static StructurecreateStructure (VM &, JSGlobalObject *, JSValue)
 

Public Attributes

 DECLARE_INFO
 

Static Public Attributes

static const unsigned StructureFlags = Base::StructureFlags | ProhibitsPropertyCaching | OverridesGetOwnPropertySlot | InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | ImplementsHasInstance | OverridesGetPropertyNames | TypeOfShouldCallGetCallData
 
static const bool needsDestruction
 

Protected Member Functions

 JSCallbackObject (ExecState *, Structure *, JSClassRef, void *data)
 
 JSCallbackObject (VM &, JSClassRef, Structure *)
 
void finishCreation (ExecState *)
 
void finishCreation (VM &)
 

Member Typedef Documentation

◆ Base

template<class Parent>
typedef Parent JSC::JSCallbackObject< Parent >::Base

Constructor & Destructor Documentation

◆ JSCallbackObject() [1/2]

template<class Parent >
JSC::JSCallbackObject< Parent >::JSCallbackObject ( ExecState exec,
Structure structure,
JSClassRef  jsClass,
void data 
)
protected

◆ JSCallbackObject() [2/2]

template<class Parent >
JSC::JSCallbackObject< Parent >::JSCallbackObject ( VM vm,
JSClassRef  jsClass,
Structure structure 
)
protected

◆ ~JSCallbackObject()

template<class Parent >
JSC::JSCallbackObject< Parent >::~JSCallbackObject ( )

Member Function Documentation

◆ classRef()

template<class Parent>
JSClassRef JSC::JSCallbackObject< Parent >::classRef ( ) const
inline

◆ create() [1/3]

template<>
JSCallbackObject< JSGlobalObject > * JSC::JSCallbackObject< JSGlobalObject >::create ( VM vm,
JSClassRef  classRef,
Structure structure 
)

◆ create() [2/3]

template<class Parent>
static JSCallbackObject* JSC::JSCallbackObject< Parent >::create ( ExecState exec,
JSGlobalObject globalObject,
Structure structure,
JSClassRef  classRef,
void data 
)
inlinestatic

◆ create() [3/3]

template<class Parent>
static JSCallbackObject<Parent>* JSC::JSCallbackObject< Parent >::create ( VM ,
JSClassRef  ,
Structure  
)
static

◆ createStructure() [1/3]

template<>
Structure * JSC::JSCallbackObject< JSDestructibleObject >::createStructure ( VM vm,
JSGlobalObject globalObject,
JSValue  proto 
)

◆ createStructure() [2/3]

template<>
Structure * JSC::JSCallbackObject< JSGlobalObject >::createStructure ( VM vm,
JSGlobalObject globalObject,
JSValue  proto 
)

◆ createStructure() [3/3]

template<class Parent>
static Structure* JSC::JSCallbackObject< Parent >::createStructure ( VM ,
JSGlobalObject ,
JSValue   
)
static

◆ deletePrivateProperty()

template<class Parent>
void JSC::JSCallbackObject< Parent >::deletePrivateProperty ( const Identifier propertyName)
inline

◆ destroy()

template<class Parent>
static void JSC::JSCallbackObject< Parent >::destroy ( JSCell cell)
inlinestatic

◆ finishCreation() [1/2]

template<class Parent >
void JSC::JSCallbackObject< Parent >::finishCreation ( ExecState exec)
protected

◆ finishCreation() [2/2]

template<class Parent >
void JSC::JSCallbackObject< Parent >::finishCreation ( VM vm)
protected

◆ getPrivate()

template<class Parent >
void * JSC::JSCallbackObject< Parent >::getPrivate ( )

◆ getPrivateProperty()

template<class Parent>
JSValue JSC::JSCallbackObject< Parent >::getPrivateProperty ( const Identifier propertyName) const
inline

◆ inherits()

template<class Parent >
bool JSC::JSCallbackObject< Parent >::inherits ( JSClassRef  c) const

◆ needsDestruction() [1/2]

template<>
const bool JSC::JSCallbackObject< JSDestructibleObject >::needsDestruction ( )

◆ needsDestruction() [2/2]

template<>
const bool JSC::JSCallbackObject< JSGlobalObject >::needsDestruction ( )

◆ s_info() [1/2]

template<>
const ClassInfo JSC::JSCallbackObject< JSDestructibleObject >::s_info ( )

◆ s_info() [2/2]

template<>
const ClassInfo JSC::JSCallbackObject< JSGlobalObject >::s_info ( )

◆ setPrivate()

template<class Parent >
void JSC::JSCallbackObject< Parent >::setPrivate ( void data)

◆ setPrivateProperty()

template<class Parent>
void JSC::JSCallbackObject< Parent >::setPrivateProperty ( VM vm,
const Identifier propertyName,
JSValue  value 
)
inline

Member Data Documentation

◆ DECLARE_INFO

template<class Parent>
JSC::JSCallbackObject< Parent >::DECLARE_INFO

◆ needsDestruction

template<class Parent>
const bool JSC::JSCallbackObject< Parent >::needsDestruction
static

◆ StructureFlags

template<class Parent>
const unsigned JSC::JSCallbackObject< Parent >::StructureFlags = Base::StructureFlags | ProhibitsPropertyCaching | OverridesGetOwnPropertySlot | InterceptsGetOwnPropertySlotByIndexEvenWhenLengthIsNotZero | ImplementsHasInstance | OverridesGetPropertyNames | TypeOfShouldCallGetCallData
static

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