Objective-CclassJavaScriptCore
JSContext
@interface JSContext : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 57
- method
+ (id)contextWithJSGlobalContextRef:(struct OpaqueJSContext *)arg0; - method
+ (id)currentArguments; - method
+ (id)currentCallee; - method
+ (id)currentContext; - method
+ (id)currentThis; - ivar
id /* block */ _exceptionHandler;+0x28 - ivar
struct OpaqueJSContext *m_context;+0x10 - ivar
struct RetainPtr<JSValue> { JSValue * m_ptr; } m_exception;+0x18 - ivar
struct WeakObjCPtr<id<JSModuleLoaderDelegate>> { id m_weakReference; } m_moduleLoaderDelegate;+0x20 - ivar
struct RetainPtr<JSVirtualMachine> { JSVirtualMachine * m_ptr; } m_virtualMachine;+0x8 - method
- (id).cxx_construct; - method
- (void).cxx_destruct; - method
- (struct OpaqueJSContext *)JSGlobalContextRef; - method
- (struct __CFRunLoop *)_debuggerRunLoop; - method
- (BOOL)_includesNativeCallStackWhenReportingExceptions; - method
- (BOOL)_remoteInspectionEnabled; - method
- (void)_setDebuggerRunLoop:(struct __CFRunLoop *)arg0; - method
- (void)_setITMLDebuggableType; - method
- (void)_setIncludesNativeCallStackWhenReportingExceptions:(BOOL)arg0; - method
- (void)_setRemoteInspectionEnabled:(BOOL)arg0; - method
- (void)beginCallbackWithData:(void *)arg0 calleeValue:(struct OpaqueJSValue *)arg1 thisValue:(struct OpaqueJSValue *)arg2 argumentCount:(unsigned long long)arg3 arguments:(const struct OpaqueJSValue * *)arg4; - method
- (BOOL)boolFromNotifyException:(struct OpaqueJSValue *)arg0; - method
- (void)dealloc; - method
- (id)dependencyIdentifiersForModuleJSScript:(id)arg0; - method
- (void)endCallbackWithData:(void *)arg0; - method
- (void)ensureWrapperMap; - method
- (id)evaluateJSScript:(id)arg0; - method
- (id)evaluateScript:(id)arg0; - method
- (id)evaluateScript:(id)arg0 withSourceURL:(id)arg1; - method
- (id)exception; - method
- (id /* block */)exceptionHandler; - method
- (id)globalObject; - method
- (id)init; - method
- (id)initWithGlobalContextRef:(struct OpaqueJSContext *)arg0; - method
- (id)initWithVirtualMachine:(id)arg0; - method
- (BOOL)isInspectable; - method
- (id)moduleLoaderDelegate; - method
- (id)name; - method
- (void)notifyException:(struct OpaqueJSValue *)arg0; - method
- (id)objectForKeyedSubscript:(id)arg0; - method
- (void)setException:(id)arg0; - method
- (void)setExceptionHandler:(id /* block */)arg0; - method
- (void)setInspectable:(BOOL)arg0; - method
- (void)setModuleLoaderDelegate:(id)arg0; - method
- (void)setName:(id)arg0; - method
- (void)setObject:(id)arg0 forKeyedSubscript:(id)arg1; - method
- (id)valueFromNotifyException:(struct OpaqueJSValue *)arg0; - method
- (id)virtualMachine; - method
- (id)wrapperForJSObject:(struct OpaqueJSValue *)arg0; - method
- (id)wrapperForObjCObject:(id)arg0; - method
- (id)wrapperMap; - property
@property(retain) JSValue *exception; - property
@property(copy) id /* block */ exceptionHandler; - property
@property(readonly) JSValue *globalObject; - property
@property(getter=isInspectable, nonatomic) BOOL inspectable; - property
@property(copy) NSString *name; - property
@property(readonly) JSVirtualMachine *virtualMachine;
Header
@interface JSContext : NSObject { struct RetainPtr<JSVirtualMachine> m_virtualMachine; struct OpaqueJSContext *m_context; struct RetainPtr<JSValue> m_exception; struct WeakObjCPtr<id<JSModuleLoaderDelegate>> m_moduleLoaderDelegate; id /* block */ _exceptionHandler; } @property (readonly) JSValue *globalObject; @property (strong) JSValue *exception; @property (copy) id /* block */ exceptionHandler; @property (readonly) JSVirtualMachine *virtualMachine; @property (copy) NSString *name; @property (nonatomic, getter=isInspectable) BOOL inspectable; + (id)currentContext; + (id)contextWithJSGlobalContextRef:(struct OpaqueJSContext *)jSGlobalContextRef; + (id)currentArguments; + (id)currentCallee; + (id)currentThis; - (BOOL)isInspectable; - (void)_setITMLDebuggableType; - (BOOL)_remoteInspectionEnabled; - (id)evaluateScript:(id)evaluateScript withSourceURL:(id)withSourceURL; - (id)globalObject; - (id)evaluateJSScript:(id)evaluateJSScript; - (void)notifyException:(struct OpaqueJSValue *)notifyException; - (void)_setIncludesNativeCallStackWhenReportingExceptions:(BOOL)includesNativeCallStackWhenReportingExceptions; - (id)objectForKeyedSubscript:(id)keyedSubscript; - (id)dependencyIdentifiersForModuleJSScript:(id)moduleJSScript; - (struct __CFRunLoop *)_debuggerRunLoop; - (id /* block */)exceptionHandler; - (id)name; - (void).cxx_destruct; - (id)exception; - (id)virtualMachine; - (id)valueFromNotifyException:(struct OpaqueJSValue *)notifyException; - (void)setExceptionHandler:(id /* block */)exceptionHandler; - (void)dealloc; - (void)setObject:(id)object forKeyedSubscript:(id)forKeyedSubscript; - (BOOL)boolFromNotifyException:(struct OpaqueJSValue *)notifyException; - (id)wrapperForJSObject:(struct OpaqueJSValue *)jSObject; - (id)init; - (id)initWithVirtualMachine:(id)virtualMachine; - (void)endCallbackWithData:(void *)data; - (void)ensureWrapperMap; - (void)_setDebuggerRunLoop:(struct __CFRunLoop *)debuggerRunLoop; - (void)beginCallbackWithData:(void *)data calleeValue:(struct OpaqueJSValue *)calleeValue thisValue:(struct OpaqueJSValue *)thisValue argumentCount:(unsigned long long)argumentCount arguments:(const struct OpaqueJSValue * *)arguments; - (struct OpaqueJSContext *)JSGlobalContextRef; - (id)moduleLoaderDelegate; - (id)evaluateScript:(id)evaluateScript; - (id)initWithGlobalContextRef:(struct OpaqueJSContext *)globalContextRef; - (id)wrapperForObjCObject:(id)objCObject; - (void)setModuleLoaderDelegate:(id)moduleLoaderDelegate; - (id).cxx_construct; - (BOOL)_includesNativeCallStackWhenReportingExceptions; - (void)setName:(id)name; - (void)_setRemoteInspectionEnabled:(BOOL)remoteInspectionEnabled; - (void)setException:(id)exception; - (id)wrapperMap; - (void)setInspectable:(BOOL)inspectable; @end