Lines Matching refs:JSValue
33 @class JSVirtualMachine, JSValue;
38 // JavaScript virtual machine. Every instance of JSValue is associated with a
39 // JSContext via a strong reference. The JSValue will keep the JSContext it
40 // references alive so long as the JSValue remains alive. When all of the JSValues
53 - (JSValue *)evaluateScript:(NSString *)script;
58 - (JSValue *)globalObject;
67 + (JSValue *)currentThis;
70 // in the returned array are instances of JSValue. Outside of a callback from
83 // If a JSValue originating from a different JSVirtualMachine than this context
85 @property(retain) JSValue *exception;
94 @property(copy) void(^exceptionHandler)(JSContext *context, JSValue *exception);
106 // JSValue *v = context[@"X"]; // Get value for "X" from the global object.
114 - (JSValue *)objectForKeyedSubscript:(id)key;