mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibJS: Rename PropertyName to PropertyKey
Let's use the same name as the spec. :^)
This commit is contained in:
parent
715e7fada8
commit
398c181c79
55 changed files with 287 additions and 287 deletions
|
@ -34,7 +34,7 @@ private:
|
|||
};
|
||||
|
||||
// Stringify helpers
|
||||
static String serialize_json_property(GlobalObject&, StringifyState&, const PropertyName& key, Object* holder);
|
||||
static String serialize_json_property(GlobalObject&, StringifyState&, const PropertyKey& key, Object* holder);
|
||||
static String serialize_json_object(GlobalObject&, StringifyState&, Object&);
|
||||
static String serialize_json_array(GlobalObject&, StringifyState&, Object&);
|
||||
static String quote_json_string(String);
|
||||
|
@ -42,7 +42,7 @@ private:
|
|||
// Parse helpers
|
||||
static Object* parse_json_object(GlobalObject&, const JsonObject&);
|
||||
static Array* parse_json_array(GlobalObject&, const JsonArray&);
|
||||
static Value internalize_json_property(GlobalObject&, Object* holder, PropertyName const& name, FunctionObject& reviver);
|
||||
static Value internalize_json_property(GlobalObject&, Object* holder, PropertyKey const& name, FunctionObject& reviver);
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(stringify);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(parse);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue