webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | List of all members
JSC::PutPropertySlot Class Reference

#include <PutPropertySlot.h>

Public Types

enum  Type {
  Uncachable, ExistingProperty, NewProperty, SetterProperty,
  CustomValue, CustomAccessor, Uncachable, ExistingProperty,
  NewProperty, SetterProperty, CustomValue, CustomAccessor
}
 
enum  Context {
  UnknownContext, PutById, PutByIdEval, UnknownContext,
  PutById, PutByIdEval
}
 
enum  Type {
  Uncachable, ExistingProperty, NewProperty, SetterProperty,
  CustomValue, CustomAccessor, Uncachable, ExistingProperty,
  NewProperty, SetterProperty, CustomValue, CustomAccessor
}
 
enum  Context {
  UnknownContext, PutById, PutByIdEval, UnknownContext,
  PutById, PutByIdEval
}
 
typedef bool(* PutValueFunc) (ExecState *, EncodedJSValue thisObject, EncodedJSValue value)
 
typedef bool(* PutValueFunc) (ExecState *, EncodedJSValue thisObject, EncodedJSValue value)
 

Public Member Functions

 PutPropertySlot (JSValue thisValue, bool isStrictMode=false, Context context=UnknownContext, bool isInitialization=false)
 
void setExistingProperty (JSObject *base, PropertyOffset offset)
 
void setNewProperty (JSObject *base, PropertyOffset offset)
 
void setCustomValue (JSObject *base, PutValueFunc function)
 
void setCustomAccessor (JSObject *base, PutValueFunc function)
 
void setCacheableSetter (JSObject *base, PropertyOffset offset)
 
void setThisValue (JSValue thisValue)
 
void setStrictMode (bool value)
 
PutValueFunc customSetter () const
 
Context context () const
 
Type type () const
 
JSObjectbase () const
 
JSValue thisValue () const
 
bool isStrictMode () const
 
bool isCacheablePut () const
 
bool isCacheableSetter () const
 
bool isCacheableCustom () const
 
bool isCustomAccessor () const
 
bool isInitialization () const
 
PropertyOffset cachedOffset () const
 
void disableCaching ()
 
 PutPropertySlot (JSValue thisValue, bool isStrictMode=false, Context context=UnknownContext, bool isInitialization=false)
 
void setExistingProperty (JSObject *base, PropertyOffset offset)
 
void setNewProperty (JSObject *base, PropertyOffset offset)
 
void setCustomValue (JSObject *base, PutValueFunc function)
 
void setCustomAccessor (JSObject *base, PutValueFunc function)
 
void setCacheableSetter (JSObject *base, PropertyOffset offset)
 
void setThisValue (JSValue thisValue)
 
void setStrictMode (bool value)
 
PutValueFunc customSetter () const
 
Context context () const
 
Type type () const
 
JSObjectbase () const
 
JSValue thisValue () const
 
bool isStrictMode () const
 
bool isCacheablePut () const
 
bool isCacheableSetter () const
 
bool isCacheableCustom () const
 
bool isCustomAccessor () const
 
bool isInitialization () const
 
PropertyOffset cachedOffset () const
 
void disableCaching ()
 

Member Typedef Documentation

◆ PutValueFunc [1/2]

typedef bool(* JSC::PutPropertySlot::PutValueFunc) (ExecState *, EncodedJSValue thisObject, EncodedJSValue value)

◆ PutValueFunc [2/2]

typedef bool(* JSC::PutPropertySlot::PutValueFunc) (ExecState *, EncodedJSValue thisObject, EncodedJSValue value)

Member Enumeration Documentation

◆ Context [1/2]

Enumerator
UnknownContext 
PutById 
PutByIdEval 
UnknownContext 
PutById 
PutByIdEval 

◆ Context [2/2]

Enumerator
UnknownContext 
PutById 
PutByIdEval 
UnknownContext 
PutById 
PutByIdEval 

◆ Type [1/2]

Enumerator
Uncachable 
ExistingProperty 
NewProperty 
SetterProperty 
CustomValue 
CustomAccessor 
Uncachable 
ExistingProperty 
NewProperty 
SetterProperty 
CustomValue 
CustomAccessor 

◆ Type [2/2]

Enumerator
Uncachable 
ExistingProperty 
NewProperty 
SetterProperty 
CustomValue 
CustomAccessor 
Uncachable 
ExistingProperty 
NewProperty 
SetterProperty 
CustomValue 
CustomAccessor 

Constructor & Destructor Documentation

◆ PutPropertySlot() [1/2]

JSC::PutPropertySlot::PutPropertySlot ( JSValue  thisValue,
bool  isStrictMode = false,
Context  context = UnknownContext,
bool  isInitialization = false 
)
inline

◆ PutPropertySlot() [2/2]

JSC::PutPropertySlot::PutPropertySlot ( JSValue  thisValue,
bool  isStrictMode = false,
Context  context = UnknownContext,
bool  isInitialization = false 
)
inline

Member Function Documentation

◆ base() [1/2]

JSObject* JSC::PutPropertySlot::base ( ) const
inline

◆ base() [2/2]

JSObject* JSC::PutPropertySlot::base ( ) const
inline

◆ cachedOffset() [1/2]

PropertyOffset JSC::PutPropertySlot::cachedOffset ( ) const
inline

◆ cachedOffset() [2/2]

PropertyOffset JSC::PutPropertySlot::cachedOffset ( ) const
inline

◆ context() [1/2]

Context JSC::PutPropertySlot::context ( ) const
inline

◆ context() [2/2]

Context JSC::PutPropertySlot::context ( ) const
inline

◆ customSetter() [1/2]

PutValueFunc JSC::PutPropertySlot::customSetter ( ) const
inline

◆ customSetter() [2/2]

PutValueFunc JSC::PutPropertySlot::customSetter ( ) const
inline

◆ disableCaching() [1/2]

void JSC::PutPropertySlot::disableCaching ( )
inline

◆ disableCaching() [2/2]

void JSC::PutPropertySlot::disableCaching ( )
inline

◆ isCacheableCustom() [1/2]

bool JSC::PutPropertySlot::isCacheableCustom ( ) const
inline

◆ isCacheableCustom() [2/2]

bool JSC::PutPropertySlot::isCacheableCustom ( ) const
inline

◆ isCacheablePut() [1/2]

bool JSC::PutPropertySlot::isCacheablePut ( ) const
inline

◆ isCacheablePut() [2/2]

bool JSC::PutPropertySlot::isCacheablePut ( ) const
inline

◆ isCacheableSetter() [1/2]

bool JSC::PutPropertySlot::isCacheableSetter ( ) const
inline

◆ isCacheableSetter() [2/2]

bool JSC::PutPropertySlot::isCacheableSetter ( ) const
inline

◆ isCustomAccessor() [1/2]

bool JSC::PutPropertySlot::isCustomAccessor ( ) const
inline

◆ isCustomAccessor() [2/2]

bool JSC::PutPropertySlot::isCustomAccessor ( ) const
inline

◆ isInitialization() [1/2]

bool JSC::PutPropertySlot::isInitialization ( ) const
inline

◆ isInitialization() [2/2]

bool JSC::PutPropertySlot::isInitialization ( ) const
inline

◆ isStrictMode() [1/2]

bool JSC::PutPropertySlot::isStrictMode ( ) const
inline

◆ isStrictMode() [2/2]

bool JSC::PutPropertySlot::isStrictMode ( ) const
inline

◆ setCacheableSetter() [1/2]

void JSC::PutPropertySlot::setCacheableSetter ( JSObject base,
PropertyOffset  offset 
)
inline

◆ setCacheableSetter() [2/2]

void JSC::PutPropertySlot::setCacheableSetter ( JSObject base,
PropertyOffset  offset 
)
inline

◆ setCustomAccessor() [1/2]

void JSC::PutPropertySlot::setCustomAccessor ( JSObject base,
PutValueFunc  function 
)
inline

◆ setCustomAccessor() [2/2]

void JSC::PutPropertySlot::setCustomAccessor ( JSObject base,
PutValueFunc  function 
)
inline

◆ setCustomValue() [1/2]

void JSC::PutPropertySlot::setCustomValue ( JSObject base,
PutValueFunc  function 
)
inline

◆ setCustomValue() [2/2]

void JSC::PutPropertySlot::setCustomValue ( JSObject base,
PutValueFunc  function 
)
inline

◆ setExistingProperty() [1/2]

void JSC::PutPropertySlot::setExistingProperty ( JSObject base,
PropertyOffset  offset 
)
inline

◆ setExistingProperty() [2/2]

void JSC::PutPropertySlot::setExistingProperty ( JSObject base,
PropertyOffset  offset 
)
inline

◆ setNewProperty() [1/2]

void JSC::PutPropertySlot::setNewProperty ( JSObject base,
PropertyOffset  offset 
)
inline

◆ setNewProperty() [2/2]

void JSC::PutPropertySlot::setNewProperty ( JSObject base,
PropertyOffset  offset 
)
inline

◆ setStrictMode() [1/2]

void JSC::PutPropertySlot::setStrictMode ( bool  value)
inline

◆ setStrictMode() [2/2]

void JSC::PutPropertySlot::setStrictMode ( bool  value)
inline

◆ setThisValue() [1/2]

void JSC::PutPropertySlot::setThisValue ( JSValue  thisValue)
inline

◆ setThisValue() [2/2]

void JSC::PutPropertySlot::setThisValue ( JSValue  thisValue)
inline

◆ thisValue() [1/2]

JSValue JSC::PutPropertySlot::thisValue ( ) const
inline

◆ thisValue() [2/2]

JSValue JSC::PutPropertySlot::thisValue ( ) const
inline

◆ type() [1/2]

Type JSC::PutPropertySlot::type ( ) const
inline

◆ type() [2/2]

Type JSC::PutPropertySlot::type ( ) const
inline

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