Home | History | Annotate | Download | only in API

Lines Matching refs:JSValueRef

43 @constant     kJSTypeObject     An object value (meaning that this JSValueRef is a JSObjectRef).
65 JS_EXPORT JSType JSValueGetType(JSContextRef ctx, JSValueRef value);
74 JS_EXPORT bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value);
83 JS_EXPORT bool JSValueIsNull(JSContextRef ctx, JSValueRef value);
92 JS_EXPORT bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value);
101 JS_EXPORT bool JSValueIsNumber(JSContextRef ctx, JSValueRef value);
110 JS_EXPORT bool JSValueIsString(JSContextRef ctx, JSValueRef value);
119 JS_EXPORT bool JSValueIsObject(JSContextRef ctx, JSValueRef value);
129 JS_EXPORT bool JSValueIsObjectOfClass(JSContextRef ctx, JSValueRef value, JSClassRef jsClass);
139 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
142 JS_EXPORT bool JSValueIsEqual(JSContextRef ctx, JSValueRef a, JSValueRef b, JSValueRef* exception);
152 JS_EXPORT bool JSValueIsStrictEqual(JSContextRef ctx, JSValueRef a, JSValueRef b);
160 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
163 JS_EXPORT bool JSValueIsInstanceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception);
173 JS_EXPORT JSValueRef JSValueMakeUndefined(JSContextRef ctx);
181 JS_EXPORT JSValueRef JSValueMakeNull(JSContextRef ctx);
190 JS_EXPORT JSValueRef JSValueMakeBoolean(JSContextRef ctx, bool boolean);
199 JS_EXPORT JSValueRef JSValueMakeNumber(JSContextRef ctx, double number);
209 JS_EXPORT JSValueRef JSValueMakeString(JSContextRef ctx, JSStringRef string);
220 JS_EXPORT bool JSValueToBoolean(JSContextRef ctx, JSValueRef value);
227 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
230 JS_EXPORT double JSValueToNumber(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
237 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
240 JS_EXPORT JSStringRef JSValueToStringCopy(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
247 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
250 JS_EXPORT JSObjectRef JSValueToObject(JSContextRef ctx, JSValueRef value, JSValueRef* exception);
262 JS_EXPORT void JSValueProtect(JSContextRef ctx, JSValueRef value);
272 JS_EXPORT void JSValueUnprotect(JSContextRef ctx, JSValueRef value);