Objective-CclassJavaScriptCore

@interface JSContext : NSObject

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 57

  1. method+ (id)contextWithJSGlobalContextRef:(struct OpaqueJSContext *)arg0;
  2. method+ (id)currentArguments;
  3. method+ (id)currentCallee;
  4. method+ (id)currentContext;
  5. method+ (id)currentThis;
  6. ivarid /* block */ _exceptionHandler;+0x28
  7. ivarstruct OpaqueJSContext *m_context;+0x10
  8. ivarstruct RetainPtr<JSValue> { JSValue * m_ptr; } m_exception;+0x18
  9. ivarstruct WeakObjCPtr<id<JSModuleLoaderDelegate>> { id m_weakReference; } m_moduleLoaderDelegate;+0x20
  10. ivarstruct RetainPtr<JSVirtualMachine> { JSVirtualMachine * m_ptr; } m_virtualMachine;+0x8
  11. method- (id).cxx_construct;
  12. method- (void).cxx_destruct;
  13. method- (struct OpaqueJSContext *)JSGlobalContextRef;
  14. method- (struct __CFRunLoop *)_debuggerRunLoop;
  15. method- (BOOL)_includesNativeCallStackWhenReportingExceptions;
  16. method- (BOOL)_remoteInspectionEnabled;
  17. method- (void)_setDebuggerRunLoop:(struct __CFRunLoop *)arg0;
  18. method- (void)_setITMLDebuggableType;
  19. method- (void)_setIncludesNativeCallStackWhenReportingExceptions:(BOOL)arg0;
  20. method- (void)_setRemoteInspectionEnabled:(BOOL)arg0;
  21. method- (void)beginCallbackWithData:(void *)arg0 calleeValue:(struct OpaqueJSValue *)arg1 thisValue:(struct OpaqueJSValue *)arg2 argumentCount:(unsigned long long)arg3 arguments:(const struct OpaqueJSValue * *)arg4;
  22. method- (BOOL)boolFromNotifyException:(struct OpaqueJSValue *)arg0;
  23. method- (void)dealloc;
  24. method- (id)dependencyIdentifiersForModuleJSScript:(id)arg0;
  25. method- (void)endCallbackWithData:(void *)arg0;
  26. method- (void)ensureWrapperMap;
  27. method- (id)evaluateJSScript:(id)arg0;
  28. method- (id)evaluateScript:(id)arg0;
  29. method- (id)evaluateScript:(id)arg0 withSourceURL:(id)arg1;
  30. method- (id)exception;
  31. method- (id /* block */)exceptionHandler;
  32. method- (id)globalObject;
  33. method- (id)init;
  34. method- (id)initWithGlobalContextRef:(struct OpaqueJSContext *)arg0;
  35. method- (id)initWithVirtualMachine:(id)arg0;
  36. method- (BOOL)isInspectable;
  37. method- (id)moduleLoaderDelegate;
  38. method- (id)name;
  39. method- (void)notifyException:(struct OpaqueJSValue *)arg0;
  40. method- (id)objectForKeyedSubscript:(id)arg0;
  41. method- (void)setException:(id)arg0;
  42. method- (void)setExceptionHandler:(id /* block */)arg0;
  43. method- (void)setInspectable:(BOOL)arg0;
  44. method- (void)setModuleLoaderDelegate:(id)arg0;
  45. method- (void)setName:(id)arg0;
  46. method- (void)setObject:(id)arg0 forKeyedSubscript:(id)arg1;
  47. method- (id)valueFromNotifyException:(struct OpaqueJSValue *)arg0;
  48. method- (id)virtualMachine;
  49. method- (id)wrapperForJSObject:(struct OpaqueJSValue *)arg0;
  50. method- (id)wrapperForObjCObject:(id)arg0;
  51. method- (id)wrapperMap;
  52. property@property(retain) JSValue *exception;
  53. property@property(copy) id /* block */ exceptionHandler;
  54. property@property(readonly) JSValue *globalObject;
  55. property@property(getter=isInspectable, nonatomic) BOOL inspectable;
  56. property@property(copy) NSString *name;
  57. property@property(readonly) JSVirtualMachine *virtualMachine;
@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