webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Attributes | List of all members
JSC::MethodTable Struct Reference

#include <ClassInfo.h>

Public Types

typedef void(* DestroyFunctionPtr) (JSCell *)
 
typedef void(* VisitChildrenFunctionPtr) (JSCell *, SlotVisitor &)
 
typedef CallType(* GetCallDataFunctionPtr) (JSCell *, CallData &)
 
typedef ConstructType(* GetConstructDataFunctionPtr) (JSCell *, ConstructData &)
 
typedef bool(* PutFunctionPtr) (JSCell *, ExecState *, PropertyName propertyName, JSValue, PutPropertySlot &)
 
typedef bool(* PutByIndexFunctionPtr) (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
typedef bool(* DeletePropertyFunctionPtr) (JSCell *, ExecState *, PropertyName)
 
typedef bool(* DeletePropertyByIndexFunctionPtr) (JSCell *, ExecState *, unsigned)
 
typedef bool(* GetOwnPropertySlotFunctionPtr) (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
typedef bool(* GetOwnPropertySlotByIndexFunctionPtr) (JSObject *, ExecState *, unsigned, PropertySlot &)
 
typedef JSValue(* ToThisFunctionPtr) (JSCell *, ExecState *, ECMAMode)
 
typedef JSValue(* DefaultValueFunctionPtr) (const JSObject *, ExecState *, PreferredPrimitiveType)
 
typedef void(* GetOwnPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
typedef void(* GetOwnNonIndexPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
typedef void(* GetPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
typedef uint32_t(* GetEnumerableLengthFunctionPtr) (ExecState *, JSObject *)
 
typedef String(* ClassNameFunctionPtr) (const JSObject *)
 
typedef String(* ToStringNameFunctionPtr) (const JSObject *, ExecState *)
 
typedef bool(* CustomHasInstanceFunctionPtr) (JSObject *, ExecState *, JSValue)
 
typedef bool(* DefineOwnPropertyFunctionPtr) (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool)
 
typedef ArrayBuffer *(* SlowDownAndWasteMemory) (JSArrayBufferView *)
 
typedef RefPtr< ArrayBufferView >(* GetTypedArrayImpl) (JSArrayBufferView *)
 
typedef bool(* PreventExtensionsFunctionPtr) (JSObject *, ExecState *)
 
typedef bool(* IsExtensibleFunctionPtr) (JSObject *, ExecState *)
 
typedef bool(* SetPrototypeFunctionPtr) (JSObject *, ExecState *, JSValue, bool shouldThrowIfCantSet)
 
typedef JSValue(* GetPrototypeFunctionPtr) (JSObject *, ExecState *)
 
typedef void(* DumpToStreamFunctionPtr) (const JSCell *, PrintStream &)
 
typedef void(* HeapSnapshotFunctionPtr) (JSCell *, HeapSnapshotBuilder &)
 
typedef size_t(* EstimatedSizeFunctionPtr) (JSCell *)
 
typedef void(* VisitOutputConstraintsPtr) (JSCell *, SlotVisitor &)
 
typedef void(* DestroyFunctionPtr) (JSCell *)
 
typedef void(* VisitChildrenFunctionPtr) (JSCell *, SlotVisitor &)
 
typedef CallType(* GetCallDataFunctionPtr) (JSCell *, CallData &)
 
typedef ConstructType(* GetConstructDataFunctionPtr) (JSCell *, ConstructData &)
 
typedef bool(* PutFunctionPtr) (JSCell *, ExecState *, PropertyName propertyName, JSValue, PutPropertySlot &)
 
typedef bool(* PutByIndexFunctionPtr) (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
typedef bool(* DeletePropertyFunctionPtr) (JSCell *, ExecState *, PropertyName)
 
typedef bool(* DeletePropertyByIndexFunctionPtr) (JSCell *, ExecState *, unsigned)
 
typedef bool(* GetOwnPropertySlotFunctionPtr) (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
typedef bool(* GetOwnPropertySlotByIndexFunctionPtr) (JSObject *, ExecState *, unsigned, PropertySlot &)
 
typedef JSValue(* ToThisFunctionPtr) (JSCell *, ExecState *, ECMAMode)
 
typedef JSValue(* DefaultValueFunctionPtr) (const JSObject *, ExecState *, PreferredPrimitiveType)
 
typedef void(* GetOwnPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
typedef void(* GetOwnNonIndexPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
typedef void(* GetPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
typedef uint32_t(* GetEnumerableLengthFunctionPtr) (ExecState *, JSObject *)
 
typedef String(* ClassNameFunctionPtr) (const JSObject *)
 
typedef String(* ToStringNameFunctionPtr) (const JSObject *, ExecState *)
 
typedef bool(* CustomHasInstanceFunctionPtr) (JSObject *, ExecState *, JSValue)
 
typedef bool(* DefineOwnPropertyFunctionPtr) (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool)
 
typedef ArrayBuffer *(* SlowDownAndWasteMemory) (JSArrayBufferView *)
 
typedef RefPtr< ArrayBufferView >(* GetTypedArrayImpl) (JSArrayBufferView *)
 
typedef bool(* PreventExtensionsFunctionPtr) (JSObject *, ExecState *)
 
typedef bool(* IsExtensibleFunctionPtr) (JSObject *, ExecState *)
 
typedef bool(* SetPrototypeFunctionPtr) (JSObject *, ExecState *, JSValue, bool shouldThrowIfCantSet)
 
typedef JSValue(* GetPrototypeFunctionPtr) (JSObject *, ExecState *)
 
typedef void(* DumpToStreamFunctionPtr) (const JSCell *, PrintStream &)
 
typedef void(* HeapSnapshotFunctionPtr) (JSCell *, HeapSnapshotBuilder &)
 
typedef size_t(* EstimatedSizeFunctionPtr) (JSCell *)
 
typedef void(* VisitOutputConstraintsPtr) (JSCell *, SlotVisitor &)
 

Public Attributes

DestroyFunctionPtr destroy
 
VisitChildrenFunctionPtr visitChildren
 
GetCallDataFunctionPtr getCallData
 
GetConstructDataFunctionPtr getConstructData
 
PutFunctionPtr put
 
PutByIndexFunctionPtr putByIndex
 
DeletePropertyFunctionPtr deleteProperty
 
DeletePropertyByIndexFunctionPtr deletePropertyByIndex
 
GetOwnPropertySlotFunctionPtr getOwnPropertySlot
 
GetOwnPropertySlotByIndexFunctionPtr getOwnPropertySlotByIndex
 
ToThisFunctionPtr toThis
 
DefaultValueFunctionPtr defaultValue
 
GetOwnPropertyNamesFunctionPtr getOwnPropertyNames
 
GetOwnNonIndexPropertyNamesFunctionPtr getOwnNonIndexPropertyNames
 
GetPropertyNamesFunctionPtr getPropertyNames
 
GetEnumerableLengthFunctionPtr getEnumerableLength
 
GetPropertyNamesFunctionPtr getStructurePropertyNames
 
GetPropertyNamesFunctionPtr getGenericPropertyNames
 
ClassNameFunctionPtr className
 
ToStringNameFunctionPtr toStringName
 
CustomHasInstanceFunctionPtr customHasInstance
 
DefineOwnPropertyFunctionPtr defineOwnProperty
 
SlowDownAndWasteMemory slowDownAndWasteMemory
 
GetTypedArrayImpl getTypedArrayImpl
 
PreventExtensionsFunctionPtr preventExtensions
 
IsExtensibleFunctionPtr isExtensible
 
SetPrototypeFunctionPtr setPrototype
 
GetPrototypeFunctionPtr getPrototype
 
DumpToStreamFunctionPtr dumpToStream
 
HeapSnapshotFunctionPtr heapSnapshot
 
EstimatedSizeFunctionPtr estimatedSize
 
VisitOutputConstraintsPtr visitOutputConstraints
 

Member Typedef Documentation

◆ ClassNameFunctionPtr [1/2]

typedef String(* JSC::MethodTable::ClassNameFunctionPtr) (const JSObject *)

◆ ClassNameFunctionPtr [2/2]

typedef String(* JSC::MethodTable::ClassNameFunctionPtr) (const JSObject *)

◆ CustomHasInstanceFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::CustomHasInstanceFunctionPtr) (JSObject *, ExecState *, JSValue)

◆ CustomHasInstanceFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::CustomHasInstanceFunctionPtr) (JSObject *, ExecState *, JSValue)

◆ DefaultValueFunctionPtr [1/2]

typedef JSValue(* JSC::MethodTable::DefaultValueFunctionPtr) (const JSObject *, ExecState *, PreferredPrimitiveType)

◆ DefaultValueFunctionPtr [2/2]

typedef JSValue(* JSC::MethodTable::DefaultValueFunctionPtr) (const JSObject *, ExecState *, PreferredPrimitiveType)

◆ DefineOwnPropertyFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::DefineOwnPropertyFunctionPtr) (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool)

◆ DefineOwnPropertyFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::DefineOwnPropertyFunctionPtr) (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool)

◆ DeletePropertyByIndexFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::DeletePropertyByIndexFunctionPtr) (JSCell *, ExecState *, unsigned)

◆ DeletePropertyByIndexFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::DeletePropertyByIndexFunctionPtr) (JSCell *, ExecState *, unsigned)

◆ DeletePropertyFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::DeletePropertyFunctionPtr) (JSCell *, ExecState *, PropertyName)

◆ DeletePropertyFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::DeletePropertyFunctionPtr) (JSCell *, ExecState *, PropertyName)

◆ DestroyFunctionPtr [1/2]

typedef void(* JSC::MethodTable::DestroyFunctionPtr) (JSCell *)

◆ DestroyFunctionPtr [2/2]

typedef void(* JSC::MethodTable::DestroyFunctionPtr) (JSCell *)

◆ DumpToStreamFunctionPtr [1/2]

typedef void(* JSC::MethodTable::DumpToStreamFunctionPtr) (const JSCell *, PrintStream &)

◆ DumpToStreamFunctionPtr [2/2]

typedef void(* JSC::MethodTable::DumpToStreamFunctionPtr) (const JSCell *, PrintStream &)

◆ EstimatedSizeFunctionPtr [1/2]

typedef size_t(* JSC::MethodTable::EstimatedSizeFunctionPtr) (JSCell *)

◆ EstimatedSizeFunctionPtr [2/2]

typedef size_t(* JSC::MethodTable::EstimatedSizeFunctionPtr) (JSCell *)

◆ GetCallDataFunctionPtr [1/2]

typedef CallType(* JSC::MethodTable::GetCallDataFunctionPtr) (JSCell *, CallData &)

◆ GetCallDataFunctionPtr [2/2]

typedef CallType(* JSC::MethodTable::GetCallDataFunctionPtr) (JSCell *, CallData &)

◆ GetConstructDataFunctionPtr [1/2]

typedef ConstructType(* JSC::MethodTable::GetConstructDataFunctionPtr) (JSCell *, ConstructData &)

◆ GetConstructDataFunctionPtr [2/2]

typedef ConstructType(* JSC::MethodTable::GetConstructDataFunctionPtr) (JSCell *, ConstructData &)

◆ GetEnumerableLengthFunctionPtr [1/2]

typedef uint32_t(* JSC::MethodTable::GetEnumerableLengthFunctionPtr) (ExecState *, JSObject *)

◆ GetEnumerableLengthFunctionPtr [2/2]

typedef uint32_t(* JSC::MethodTable::GetEnumerableLengthFunctionPtr) (ExecState *, JSObject *)

◆ GetOwnNonIndexPropertyNamesFunctionPtr [1/2]

typedef void(* JSC::MethodTable::GetOwnNonIndexPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)

◆ GetOwnNonIndexPropertyNamesFunctionPtr [2/2]

typedef void(* JSC::MethodTable::GetOwnNonIndexPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)

◆ GetOwnPropertyNamesFunctionPtr [1/2]

typedef void(* JSC::MethodTable::GetOwnPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)

◆ GetOwnPropertyNamesFunctionPtr [2/2]

typedef void(* JSC::MethodTable::GetOwnPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)

◆ GetOwnPropertySlotByIndexFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::GetOwnPropertySlotByIndexFunctionPtr) (JSObject *, ExecState *, unsigned, PropertySlot &)

◆ GetOwnPropertySlotByIndexFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::GetOwnPropertySlotByIndexFunctionPtr) (JSObject *, ExecState *, unsigned, PropertySlot &)

◆ GetOwnPropertySlotFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::GetOwnPropertySlotFunctionPtr) (JSObject *, ExecState *, PropertyName, PropertySlot &)

◆ GetOwnPropertySlotFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::GetOwnPropertySlotFunctionPtr) (JSObject *, ExecState *, PropertyName, PropertySlot &)

◆ GetPropertyNamesFunctionPtr [1/2]

typedef void(* JSC::MethodTable::GetPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)

◆ GetPropertyNamesFunctionPtr [2/2]

typedef void(* JSC::MethodTable::GetPropertyNamesFunctionPtr) (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)

◆ GetPrototypeFunctionPtr [1/2]

typedef JSValue(* JSC::MethodTable::GetPrototypeFunctionPtr) (JSObject *, ExecState *)

◆ GetPrototypeFunctionPtr [2/2]

typedef JSValue(* JSC::MethodTable::GetPrototypeFunctionPtr) (JSObject *, ExecState *)

◆ GetTypedArrayImpl [1/2]

typedef RefPtr<ArrayBufferView>(* JSC::MethodTable::GetTypedArrayImpl) (JSArrayBufferView *)

◆ GetTypedArrayImpl [2/2]

typedef RefPtr<ArrayBufferView>(* JSC::MethodTable::GetTypedArrayImpl) (JSArrayBufferView *)

◆ HeapSnapshotFunctionPtr [1/2]

typedef void(* JSC::MethodTable::HeapSnapshotFunctionPtr) (JSCell *, HeapSnapshotBuilder &)

◆ HeapSnapshotFunctionPtr [2/2]

typedef void(* JSC::MethodTable::HeapSnapshotFunctionPtr) (JSCell *, HeapSnapshotBuilder &)

◆ IsExtensibleFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::IsExtensibleFunctionPtr) (JSObject *, ExecState *)

◆ IsExtensibleFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::IsExtensibleFunctionPtr) (JSObject *, ExecState *)

◆ PreventExtensionsFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::PreventExtensionsFunctionPtr) (JSObject *, ExecState *)

◆ PreventExtensionsFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::PreventExtensionsFunctionPtr) (JSObject *, ExecState *)

◆ PutByIndexFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::PutByIndexFunctionPtr) (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)

◆ PutByIndexFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::PutByIndexFunctionPtr) (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)

◆ PutFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::PutFunctionPtr) (JSCell *, ExecState *, PropertyName propertyName, JSValue, PutPropertySlot &)

◆ PutFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::PutFunctionPtr) (JSCell *, ExecState *, PropertyName propertyName, JSValue, PutPropertySlot &)

◆ SetPrototypeFunctionPtr [1/2]

typedef bool(* JSC::MethodTable::SetPrototypeFunctionPtr) (JSObject *, ExecState *, JSValue, bool shouldThrowIfCantSet)

◆ SetPrototypeFunctionPtr [2/2]

typedef bool(* JSC::MethodTable::SetPrototypeFunctionPtr) (JSObject *, ExecState *, JSValue, bool shouldThrowIfCantSet)

◆ SlowDownAndWasteMemory [1/2]

typedef ArrayBuffer*(* JSC::MethodTable::SlowDownAndWasteMemory) (JSArrayBufferView *)

◆ SlowDownAndWasteMemory [2/2]

typedef ArrayBuffer*(* JSC::MethodTable::SlowDownAndWasteMemory) (JSArrayBufferView *)

◆ ToStringNameFunctionPtr [1/2]

typedef String(* JSC::MethodTable::ToStringNameFunctionPtr) (const JSObject *, ExecState *)

◆ ToStringNameFunctionPtr [2/2]

typedef String(* JSC::MethodTable::ToStringNameFunctionPtr) (const JSObject *, ExecState *)

◆ ToThisFunctionPtr [1/2]

typedef JSValue(* JSC::MethodTable::ToThisFunctionPtr) (JSCell *, ExecState *, ECMAMode)

◆ ToThisFunctionPtr [2/2]

typedef JSValue(* JSC::MethodTable::ToThisFunctionPtr) (JSCell *, ExecState *, ECMAMode)

◆ VisitChildrenFunctionPtr [1/2]

typedef void(* JSC::MethodTable::VisitChildrenFunctionPtr) (JSCell *, SlotVisitor &)

◆ VisitChildrenFunctionPtr [2/2]

typedef void(* JSC::MethodTable::VisitChildrenFunctionPtr) (JSCell *, SlotVisitor &)

◆ VisitOutputConstraintsPtr [1/2]

typedef void(* JSC::MethodTable::VisitOutputConstraintsPtr) (JSCell *, SlotVisitor &)

◆ VisitOutputConstraintsPtr [2/2]

typedef void(* JSC::MethodTable::VisitOutputConstraintsPtr) (JSCell *, SlotVisitor &)

Member Data Documentation

◆ className

ClassNameFunctionPtr JSC::MethodTable::className

◆ customHasInstance

CustomHasInstanceFunctionPtr JSC::MethodTable::customHasInstance

◆ defaultValue

DefaultValueFunctionPtr JSC::MethodTable::defaultValue

◆ defineOwnProperty

DefineOwnPropertyFunctionPtr JSC::MethodTable::defineOwnProperty

◆ deleteProperty

DeletePropertyFunctionPtr JSC::MethodTable::deleteProperty

◆ deletePropertyByIndex

DeletePropertyByIndexFunctionPtr JSC::MethodTable::deletePropertyByIndex

◆ destroy

DestroyFunctionPtr JSC::MethodTable::destroy

◆ dumpToStream

DumpToStreamFunctionPtr JSC::MethodTable::dumpToStream

◆ estimatedSize

EstimatedSizeFunctionPtr JSC::MethodTable::estimatedSize

◆ getCallData

GetCallDataFunctionPtr JSC::MethodTable::getCallData

◆ getConstructData

GetConstructDataFunctionPtr JSC::MethodTable::getConstructData

◆ getEnumerableLength

GetEnumerableLengthFunctionPtr JSC::MethodTable::getEnumerableLength

◆ getGenericPropertyNames

GetPropertyNamesFunctionPtr JSC::MethodTable::getGenericPropertyNames

◆ getOwnNonIndexPropertyNames

GetOwnNonIndexPropertyNamesFunctionPtr JSC::MethodTable::getOwnNonIndexPropertyNames

◆ getOwnPropertyNames

GetOwnPropertyNamesFunctionPtr JSC::MethodTable::getOwnPropertyNames

◆ getOwnPropertySlot

GetOwnPropertySlotFunctionPtr JSC::MethodTable::getOwnPropertySlot

◆ getOwnPropertySlotByIndex

GetOwnPropertySlotByIndexFunctionPtr JSC::MethodTable::getOwnPropertySlotByIndex

◆ getPropertyNames

GetPropertyNamesFunctionPtr JSC::MethodTable::getPropertyNames

◆ getPrototype

GetPrototypeFunctionPtr JSC::MethodTable::getPrototype

◆ getStructurePropertyNames

GetPropertyNamesFunctionPtr JSC::MethodTable::getStructurePropertyNames

◆ getTypedArrayImpl

GetTypedArrayImpl JSC::MethodTable::getTypedArrayImpl

◆ heapSnapshot

HeapSnapshotFunctionPtr JSC::MethodTable::heapSnapshot

◆ isExtensible

IsExtensibleFunctionPtr JSC::MethodTable::isExtensible

◆ preventExtensions

PreventExtensionsFunctionPtr JSC::MethodTable::preventExtensions

◆ put

PutFunctionPtr JSC::MethodTable::put

◆ putByIndex

PutByIndexFunctionPtr JSC::MethodTable::putByIndex

◆ setPrototype

SetPrototypeFunctionPtr JSC::MethodTable::setPrototype

◆ slowDownAndWasteMemory

SlowDownAndWasteMemory JSC::MethodTable::slowDownAndWasteMemory

◆ toStringName

ToStringNameFunctionPtr JSC::MethodTable::toStringName

◆ toThis

ToThisFunctionPtr JSC::MethodTable::toThis

◆ visitChildren

VisitChildrenFunctionPtr JSC::MethodTable::visitChildren

◆ visitOutputConstraints

VisitOutputConstraintsPtr JSC::MethodTable::visitOutputConstraints

The documentation for this struct was generated from the following file: