mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +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
Notes:
sideshowbarker
2024-07-18 01:56:36 +09:00
Author: https://github.com/awesomekling
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