|
ReactOS 0.4.17-dev-357-ga8f14ff
|
#include "jsstr.h"

Go to the source code of this file.
Classes | |
| struct | _jsval_t |
Macros | |
| #define | JSV_VAL(x) x |
| #define | __JSVAL_TYPE(x) ((x).type) |
| #define | __JSVAL_BOOL(x) ((x).u.b) |
| #define | __JSVAL_STR(x) ((x).u.str) |
| #define | __JSVAL_OBJ(x) ((x).u.obj) |
| #define | __JSVAL_VAR(x) ((x).u.v) |
Enumerations | |
| enum | jsval_type_t { JSV_UNDEFINED = JSV_VAL(1) , JSV_NULL = JSV_VAL(2) , JSV_OBJECT = JSV_VAL(3) , JSV_STRING = JSV_VAL(4) , JSV_NUMBER = JSV_VAL(5) , JSV_BOOL = JSV_VAL(6) , JSV_VARIANT = JSV_VAL(7) } |
| Enumerator | |
|---|---|
| JSV_UNDEFINED | |
| JSV_NULL | |
| JSV_OBJECT | |
| JSV_STRING | |
| JSV_NUMBER | |
| JSV_BOOL | |
| JSV_VARIANT | |
Definition at line 44 of file jsval.h.
Definition at line 233 of file jsval.h.
Referenced by ArrayConstr_value(), debugstr_jsval(), interp_end_finally(), interp_forin(), JSON_stringify(), jsval_map_compare(), jsval_strict_equal(), jsval_to_variant(), numberval_this(), sort_cmp(), stack_topn_exprval(), stringify(), to_boolean(), to_locale_string(), to_number(), to_object(), to_string(), and variant_to_jsval().
Definition at line 228 of file jsval.h.
Referenced by Array_concat(), Array_every(), Array_filter(), Array_forEach(), Array_map(), Array_reduce(), Array_some(), Array_sort(), array_this(), arraybuf_this(), ArrayConstr_isArray(), bind_event_target(), boolval_this(), create_enumerator(), create_regexp_var(), create_signature(), dataview_this(), date_this(), debugstr_jsval(), disp_call_value_with_caller(), DispatchEx_GetTypeInfo(), enumerator_this(), Error_toString(), exprval_call(), Function_apply(), function_this(), gc_process_linked_val(), gc_run(), get_map_this(), get_set_this(), get_weakmap_this(), HostFunction_call(), init_dispex_from_constr(), interp_call(), interp_call_eval(), interp_carray_set(), interp_forin(), interp_in(), interp_instanceof(), interp_new(), interp_obj_prop(), InterpretedFunction_call(), invoke_prop_func(), is_function_prop(), iterate_map(), jsdisp_define_properties(), JSON_parse(), JSON_stringify(), jsval_copy(), jsval_map_compare(), jsval_release(), jsval_strict_equal(), jsval_to_variant(), maybe_to_primitive(), numberval_this(), Object_create(), Object_defineGetter(), Object_defineProperties(), Object_defineProperty(), Object_defineSetter(), Object_freeze(), Object_getOwnPropertyDescriptor(), Object_getPrototypeOf(), Object_isExtensible(), Object_isFrozen(), Object_isPrototypeOf(), Object_isSealed(), object_keys(), Object_preventExtensions(), Object_seal(), Object_set_proto_(), regexp_this(), RegExpConstr_value(), set_error_value(), stack_pop_object(), stack_topn_exprval(), String_match(), String_replace(), String_search(), String_split(), string_this(), stringify(), to_locale_string(), to_object(), to_primitive(), to_property_descriptor(), transform_json_object(), typeof_string(), unwind_exception(), vbarray_this(), WeakMap_delete(), WeakMap_get(), WeakMap_has(), and WeakMap_set().
Definition at line 238 of file jsval.h.
Referenced by builtin_eval(), DateConstr_value(), debugstr_jsval(), interp_set_member(), JSON_stringify(), jsval_copy(), jsval_map_compare(), jsval_release(), jsval_strict_equal(), jsval_to_variant(), less_eval(), rep_call(), stringify(), to_boolean(), to_number(), to_object(), to_string(), and variant_date_to_string().
Definition at line 243 of file jsval.h.
Referenced by debugstr_jsval(), jsval_copy(), jsval_release(), jsval_to_variant(), to_boolean(), to_number(), to_object(), to_string(), typeof_string(), and VBArrayConstr_value().
Definition at line 214 of file jsval.h.
Referenced by boolval_this(), equal_values(), and interp_end_finally().
Definition at line 185 of file jsval.h.
Referenced by array_join(), Array_sort(), equal_values(), exec_op(), Function_apply(), Function_bind(), Function_call(), get_string_val(), HostFunction_call(), interp_new(), InterpretedFunction_call(), is_null_disp(), Object_create(), Object_set_proto_(), Object_toString(), ObjectConstr_value(), and String_trim().
Definition at line 190 of file jsval.h.
Referenced by Array_sort(), Function_apply(), Function_call(), interp_instanceof(), interp_new(), Object_valueOf(), stringify(), and to_object().
Definition at line 200 of file jsval.h.
Referenced by ArrayConstr_value(), equal_values(), interp_end_finally(), interp_forin(), JSON_stringify(), jsval_type(), numberval_this(), sort_cmp(), and stack_topn_exprval().
Definition at line 175 of file jsval.h.
Referenced by Array_concat(), Array_every(), Array_filter(), Array_forEach(), Array_map(), Array_reduce(), Array_some(), Array_sort(), array_this(), arraybuf_this(), ArrayConstr_isArray(), bind_event_target(), boolval_this(), create_enumerator(), create_regexp_var(), dataview_this(), date_this(), disp_call_value_with_caller(), enumerator_this(), equal_values(), Error_toString(), exprval_call(), Function_apply(), function_this(), gc_process_linked_val(), gc_run(), get_map_this(), get_set_this(), get_weakmap_this(), HostFunction_call(), init_dispex_from_constr(), interp_call(), interp_call_eval(), interp_carray_set(), interp_forin(), interp_in(), interp_instanceof(), interp_new(), interp_obj_prop(), interp_ret(), InterpretedFunction_call(), invoke_prop_func(), is_function_prop(), iterate_map(), jsdisp_define_properties(), JSON_parse(), JSON_stringify(), maybe_to_primitive(), numberval_this(), Object_create(), Object_defineGetter(), Object_defineProperties(), Object_defineProperty(), Object_defineSetter(), Object_freeze(), Object_getOwnPropertyDescriptor(), Object_getPrototypeOf(), Object_isExtensible(), Object_isFrozen(), Object_isPrototypeOf(), Object_isSealed(), object_keys(), Object_preventExtensions(), Object_seal(), Object_set_proto_(), regexp_this(), RegExpConstr_value(), set_error_value(), stack_pop_object(), String_match(), String_replace(), String_search(), String_split(), string_this(), stringify(), to_primitive(), to_property_descriptor(), transform_json_object(), vbarray_this(), WeakMap_delete(), WeakMap_get(), WeakMap_has(), and WeakMap_set().
Definition at line 180 of file jsval.h.
Referenced by array_join(), Array_sort(), ArrayBuffer_slice(), create_regexp_var(), DataViewConstr_value(), equal_values(), Error_toString(), Function_apply(), Function_bind(), Function_call(), get_data(), get_string_val(), HostFunction_call(), InterpretedFunction_call(), Number_toPrecision(), Number_toString(), Object_create(), Object_set_proto_(), Object_toString(), ObjectConstr_value(), RegExpConstr_value(), set_data(), sort_cmp(), String_split(), String_trim(), to_property_descriptor(), and transform_json_object().
Definition at line 209 of file jsval.h.
Referenced by VBArrayConstr_value().
Definition at line 101 of file jsval.h.
Referenced by Array_every(), Array_some(), ArrayConstr_isArray(), Bool_valueOf(), BoolConstr_value(), Enumerator_atEnd(), interp_bool(), interp_delete(), interp_delete_ident(), interp_eq(), interp_eq2(), interp_gt(), interp_gteq(), interp_in(), interp_instanceof(), interp_lt(), interp_lteq(), interp_neg(), interp_neq(), interp_neq2(), interp_pop_except(), JSGlobal_isFinite(), JSGlobal_isNaN(), Map_delete(), Map_has(), maybe_to_primitive(), Object_getOwnPropertyDescriptor(), Object_hasOwnProperty(), Object_isExtensible(), Object_isFrozen(), Object_isPrototypeOf(), Object_isSealed(), Object_propertyIsEnumerable(), parse_json_value(), RegExp_get_global(), RegExp_get_ignoreCase(), RegExp_get_multiline(), RegExp_test(), Set_delete(), Set_has(), unwind_exception(), variant_to_jsval(), WeakMap_delete(), and WeakMap_has().
Definition at line 225 of file jsutils.c.
Referenced by Arguments_prop_get(), Arguments_prop_put(), Array_reduce(), builtin_eval(), create_bind_function(), detach_arguments_object(), Enumerator_item(), exprval_propget(), exprval_propput(), Function_apply(), Function_call(), interp_local(), jsdisp_define_property(), Map_get(), maybe_to_primitive(), Object_set_proto_(), prop_get(), prop_put(), RegExp_get_lastIndex(), RegExp_set_lastIndex(), scope_prop_get(), scope_prop_put(), set_map_entry(), setup_scope(), to_primitive(), VBArrayConstr_value(), WeakMap_get(), and WeakMap_set().
Definition at line 117 of file jsval.h.
Referenced by ActiveXObject_value(), concat_obj(), DispatchEx_InvokeEx(), Function_apply(), Function_bind(), Function_call(), FunctionConstr_value(), identifier_eval(), init_host_constructor(), interp_ret(), interp_this(), invoke_prop_func(), jsval_obj(), Object_valueOf(), ObjectConstr_value(), prop_get(), RegExp_exec(), regexp_string_match(), stack_push_exprval(), and variant_to_jsval().
Definition at line 130 of file jsval.h.
Referenced by Arguments_get_caller(), create_builtin_function(), Function_get_arguments(), Function_get_caller(), interp_null(), Object_get_proto_(), Object_getPrototypeOf(), parse_json_value(), RegExp_exec(), regexp_string_match(), stack_push_exprval(), String_match(), String_search(), and variant_to_jsval().
Definition at line 138 of file jsval.h.
Referenced by Object_valueOf(), and variant_to_jsval().
Definition at line 153 of file jsval.h.
Referenced by alloc_regexp(), Array_every(), Array_filter(), Array_forEach(), Array_get_length(), Array_indexOf(), Array_lastIndexOf(), Array_map(), Array_push(), Array_reduce(), Array_some(), Array_splice(), Array_unshift(), ArrayBuffer_get_byteLength(), create_builtin_function(), create_error(), create_match_array(), create_math(), DataView_get_byteLength(), DataView_get_byteOffset(), DataView_getFloat32(), DataView_getFloat64(), DataView_getInt16(), DataView_getInt32(), DataView_getInt8(), DataView_getUint16(), DataView_getUint32(), DataView_getUint8(), Date_getDate(), Date_getDay(), Date_getFullYear(), Date_getHours(), Date_getMilliseconds(), Date_getMinutes(), Date_getMonth(), Date_getSeconds(), Date_getTime(), Date_getTimezoneOffset(), Date_getUTCDate(), Date_getUTCDay(), Date_getUTCFullYear(), Date_getUTCHours(), Date_getUTCMilliseconds(), Date_getUTCMinutes(), Date_getUTCMonth(), Date_getUTCSeconds(), Date_getYear(), Date_setDate(), Date_setFullYear(), Date_setHours(), Date_setMilliseconds(), Date_setMinutes(), Date_setMonth(), Date_setSeconds(), Date_setTime(), Date_setUTCDate(), Date_setUTCFullYear(), Date_setUTCHours(), Date_setUTCMilliseconds(), Date_setUTCMinutes(), Date_setUTCMonth(), Date_setUTCSeconds(), Date_setYear(), Date_valueOf(), DateConstr_now(), DateConstr_parse(), DateConstr_UTC(), equal_values(), Function_get_length(), init_global(), interp_add(), interp_and(), interp_bneg(), interp_div(), interp_double(), interp_forin(), interp_int(), interp_lshift(), interp_minus(), interp_mod(), interp_mul(), interp_or(), interp_pop_except(), interp_postinc(), interp_preinc(), interp_rshift(), interp_rshift2(), interp_sub(), interp_tonum(), interp_xor(), JSGlobal_parseFloat(), JSGlobal_parseInt(), JSGlobal_ScriptEngineBuildVersion(), JSGlobal_ScriptEngineMajorVersion(), JSGlobal_ScriptEngineMinorVersion(), localize_number(), Map_get_size(), Math_abs(), Math_acos(), Math_asin(), Math_atan(), Math_atan2(), Math_ceil(), Math_cos(), Math_exp(), Math_floor(), Math_log(), Math_max(), Math_min(), Math_pow(), Math_random(), Math_round(), Math_sin(), Math_sqrt(), Math_tan(), maybe_to_primitive(), Number_toExponential(), Number_toFixed(), Number_toPrecision(), Number_toString(), Number_valueOf(), NumberConstr_value(), parse_json_value(), regexp_string_match(), rep_call(), set_last_index(), set_length(), setup_arguments_object(), stack_push_exprval(), stack_topn_exprval(), String_charCodeAt(), String_get_length(), String_indexOf(), String_lastIndexOf(), String_search(), variant_to_jsval(), VBArray_dimensions(), VBArray_lbound(), and VBArray_ubound().
Definition at line 125 of file jsval.h.
Referenced by Arguments_get_caller(), Array_concat(), Array_every(), Array_filter(), Array_forEach(), Array_map(), Array_reduce(), Array_reverse(), Array_slice(), Array_some(), Array_sort(), Array_splice(), ArrayBuffer_slice(), ArrayBufferConstr_value(), ArrayConstr_value(), BoolConstr_value(), create_builtin_function(), DataView_get_buffer(), DataViewConstr_value(), DateConstr_value(), detach_scope(), DispatchEx_InvokeEx(), EnumeratorConstr_value(), error_constr(), exec_source(), find_prop_name(), Function_bind(), Function_get_arguments(), Function_get_caller(), identifier_eval(), init_arraybuf_constructors(), init_constructors(), init_function_constr(), init_global(), init_set_constructor(), interp_carray(), interp_func(), interp_new_obj(), interp_regexp(), InterpretedFunction_get_prototype(), iterate_map(), Map_constructor(), maybe_to_primitive(), NumberConstr_value(), Object_create(), Object_defineProperties(), Object_defineProperty(), Object_freeze(), Object_get_proto_(), Object_getOwnPropertyDescriptor(), Object_getPrototypeOf(), object_keys(), Object_preventExtensions(), Object_seal(), ObjectConstr_value(), parse_json_value(), prop_put(), regexp_string_match(), RegExpConstr_value(), scope_init_locals(), Set_constructor(), set_constructor_prop(), setup_arguments_object(), setup_scope(), stack_topn_exprval(), String_split(), StringConstr_value(), stringify(), transform_json_object(), unwind_exception(), update_external_prop(), variant_to_jsval(), VBArray_toArray(), VBArrayConstr_value(), and WeakMap_constructor().
Definition at line 186 of file jsutils.c.
Referenced by Arguments_destructor(), Arguments_prop_put(), Array_every(), Array_filter(), Array_forEach(), Array_indexOf(), array_join(), Array_lastIndexOf(), Array_map(), Array_pop(), Array_reduce(), Array_reverse(), Array_shift(), Array_slice(), Array_some(), Array_sort(), Array_splice(), array_to_args(), Array_unshift(), bind_event_target(), BindFunction_destructor(), clear_acc(), concat_array(), convert_params(), create_match_array(), DateConstr_value(), delete_prop(), DispatchEx_InvokeEx(), enter_bytecode(), Enumerator_destructor(), enumvar_get_next_item(), equal_values(), Error_toString(), exprval_call(), exprval_propput(), exprval_release(), Function_apply(), Function_bind(), Function_call(), gc_process_linked_val(), get_length(), init_dispex_from_constr(), interp_add(), interp_array(), interp_assign(), interp_bneg(), interp_call_eval(), interp_carray_set(), interp_case(), interp_delete(), interp_enter_catch(), interp_eq(), interp_eq2(), interp_gt(), interp_gteq(), interp_in(), interp_instanceof(), interp_jmp_z(), interp_lt(), interp_lteq(), interp_memberid(), interp_neg(), interp_neq(), interp_neq2(), interp_obj_prop(), interp_postinc(), interp_preinc(), interp_push_with_scope(), interp_ret(), interp_set_member(), interp_setret(), interp_to_string(), interp_tonum(), interp_typeof(), interp_typeofid(), interp_typeofident(), invoke_prop_func(), iterate_map(), JScriptParse_ParseScriptText(), jsdisp_define_properties(), jsdisp_define_property(), jsdisp_free(), JSON_parse(), JSON_stringify(), less_eval(), parse_json_value(), pop_call_frame(), prop_put(), RegExp_destructor(), RegExp_set_lastIndex(), release_map_entry(), release_property_descriptor(), remove_weakmap_entry(), rep_call(), reset_ei(), scope_destructor(), scope_init_locals(), scope_prop_put(), script_release(), set_error_value(), set_last_index(), set_map_entry(), setup_scope(), sort_cmp(), stack_pop_number(), stack_pop_object(), stack_popn(), stringify(), to_number(), to_property_descriptor(), to_string(), transform_json_object(), unlink_jsdisp(), unwind_exception(), variant_change_type(), VBArray_toArray(), and WeakMap_set().
Definition at line 109 of file jsval.h.
Referenced by array_join(), Bool_toString(), create_error(), create_match_array(), create_utc_string(), date_to_string(), Date_toISOString(), Date_toLocaleDateString(), Date_toLocaleString(), Date_toLocaleTimeString(), Date_toTimeString(), dateobj_to_date_string(), do_attribute_tag_format(), do_attributeless_tag_format(), Error_toString(), Function_get_value(), Function_toString(), global_idx(), init_error_constr(), interp_add(), interp_forin(), interp_str(), interp_to_string(), interp_typeofid(), interp_typeofident(), JSGlobal_decodeURI(), JSGlobal_decodeURIComponent(), JSGlobal_encodeURI(), JSGlobal_encodeURIComponent(), JSGlobal_escape(), JSGlobal_ScriptEngine(), JSGlobal_unescape(), JSON_stringify(), maybe_to_primitive(), Number_toExponential(), Number_toFixed(), Number_toLocaleString(), Number_toPrecision(), Number_toString(), object_keys(), Object_toString(), parse_json_value(), RegExp_exec(), RegExp_get_source(), regexp_string_match(), RegExp_test(), RegExp_toString(), RegExpConstr_get_leftContext(), RegExpConstr_get_rightContext(), rep_call(), stack_push_string(), String_charAt(), String_concat(), String_prop_get(), String_replace(), String_slice(), String_split(), String_substr(), String_substring(), String_trim(), StringConstr_fromCharCode(), StringConstr_value(), stringify(), stringobj_to_string(), to_lower_case(), to_upper_case(), transform_json_object(), and variant_to_jsval().
Definition at line 367 of file jsutils.c.
Referenced by disp_call(), disp_call_value_with_caller(), disp_propput(), DispatchEx_InvokeEx(), HostConstructor_call(), HostFunction_call(), HostObject_prop_put(), and JScriptParse_ParseScriptText().
|
inlinestatic |
Definition at line 219 of file jsval.h.
Referenced by debugstr_jsval(), equal_values(), jsval_copy(), jsval_map_compare(), jsval_release(), jsval_strict_equal(), jsval_to_variant(), stack_topn_exprval(), stringify(), to_boolean(), to_locale_string(), to_number(), to_object(), to_string(), typeof_string(), and unwind_exception().
Definition at line 146 of file jsval.h.
Referenced by alloc_detached_vars(), Array_every(), Array_filter(), Array_forEach(), Array_indexOf(), Array_lastIndexOf(), Array_map(), Array_pop(), Array_reduce(), Array_shift(), Array_some(), Array_sort(), array_to_args(), Array_unshift(), builtin_eval(), clear_acc(), create_match_array(), DataView_setFloat32(), DataView_setFloat64(), DataView_setInt16(), DataView_setInt32(), DataView_setInt8(), detach_arguments_object(), DispatchEx_InvokeEx(), ensure_prop_name(), Enumerator_moveFirst(), Enumerator_moveNext(), enumvar_get_next_item(), exec_source(), exprval_call(), Function_apply(), Function_bind(), Function_call(), gc_process_linked_val(), init_global(), interp_array(), interp_call(), interp_member(), interp_new(), interp_push_acc(), interp_undefined(), interp_void(), iterate_map(), JScript_SetScriptSite(), jsdisp_define_property(), jsdisp_get_idx(), jsdisp_propget_name(), JSON_stringify(), jsval_variant(), Map_clear(), Map_delete(), Map_forEach(), Map_get(), Map_has(), Map_set(), Object_create(), Object_defineGetter(), Object_defineProperties(), Object_defineProperty(), Object_defineSetter(), Object_getOwnPropertyDescriptor(), Object_getOwnPropertyNames(), Object_keys(), Object_set_proto_(), prop_get(), prop_put(), RegExpConstr_value(), rep_call(), scope_init_locals(), Set_add(), Set_clear(), Set_delete(), Set_forEach(), Set_has(), set_map_entry(), setup_scope(), sort_cmp(), stack_push_exprval(), steal_ret(), to_property_descriptor(), transform_json_object(), unwind_exception(), variant_to_jsval(), WeakMap_clear(), WeakMap_get(), and WeakMap_set().
| HRESULT variant_to_jsval | ( | script_ctx_t * | ctx, |
| VARIANT * | var, | ||
| jsval_t * | r | ||
| ) |
Definition at line 251 of file jsutils.c.
Referenced by convert_params(), disp_call(), disp_call_value_with_caller(), disp_propget(), DispatchEx_InvokeEx(), enumvar_get_next_item(), HostConstructor_call(), HostFunction_call(), HostObject_prop_get(), variant_change_type(), VBArray_getItem(), and VBArray_toArray().