Objective-CclassJavaScriptCore
JSManagedValue
@interface JSManagedValue : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 16
- method
+ (id)managedValueWithValue:(id)arg0; - method
+ (id)managedValueWithValue:(id)arg0 andOwner:(id)arg1; - ivar
struct Weak<JSC::JSGlobalObject> { struct WeakImpl * m_impl; } m_globalObject;+0x8 - ivar
struct RefPtr<JSC::JSLock, WTF::RawPtrTraits<JSC::JSLock>, WTF::DefaultRefDerefTraits<JSC::JSLock>> { struct JSLock * m_ptr; } m_lock;+0x10 - ivar
struct RetainPtr<NSMapTable> { NSMapTable * m_ptr; } m_owners;+0x28 - ivar
struct JSWeakValue { int m_tag; union WeakValueUnion { struct JSValue { union EncodedValueDescriptor { long long asInt64; struct JSCell * ptr; struct { int payload; int tag; } asBits; } u; } primitive; struct Weak<JSC::JSObject> { struct WeakImpl * m_impl; } object; struct Weak<JSC::JSString> { struct WeakImpl * m_impl; } string; } m_value; } m_weakValue;+0x18 - method
- (id).cxx_construct; - method
- (void).cxx_destruct; - method
- (void)dealloc; - method
- (void)didAddOwner:(id)arg0; - method
- (void)didRemoveOwner:(id)arg0; - method
- (void)disconnectValue; - method
- (id)init; - method
- (id)initWithValue:(id)arg0; - method
- (id)value; - property
@property(readonly) JSValue *value;
Header
@interface JSManagedValue : NSObject { struct Weak<JSC::JSGlobalObject> m_globalObject; struct RefPtr<JSC::JSLock, WTF::RawPtrTraits<JSC::JSLock>, WTF::DefaultRefDerefTraits<JSC::JSLock>> m_lock; struct JSWeakValue m_weakValue; struct RetainPtr<NSMapTable> m_owners; } @property (readonly) JSValue *value; + (id)managedValueWithValue:(id)value andOwner:(id)andOwner; + (id)managedValueWithValue:(id)value; - (id)value; - (id)initWithValue:(id)value; - (id).cxx_construct; - (void).cxx_destruct; - (void)dealloc; - (void)didAddOwner:(id)didAddOwner; - (void)disconnectValue; - (id)init; - (void)didRemoveOwner:(id)didRemoveOwner; @end