mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -22,7 +22,7 @@ public:
|
|||
// test-js to communicate between the JS tests and the C++ test runner.
|
||||
static ThrowCompletionOr<String> stringify_impl(GlobalObject&, Value value, Value replacer, Value space);
|
||||
|
||||
static Value parse_json_value(GlobalObject&, const JsonValue&);
|
||||
static Value parse_json_value(GlobalObject&, JsonValue const&);
|
||||
|
||||
private:
|
||||
struct StringifyState {
|
||||
|
@ -34,14 +34,14 @@ private:
|
|||
};
|
||||
|
||||
// Stringify helpers
|
||||
static ThrowCompletionOr<String> serialize_json_property(GlobalObject&, StringifyState&, const PropertyKey& key, Object* holder);
|
||||
static ThrowCompletionOr<String> serialize_json_property(GlobalObject&, StringifyState&, PropertyKey const& key, Object* holder);
|
||||
static ThrowCompletionOr<String> serialize_json_object(GlobalObject&, StringifyState&, Object&);
|
||||
static ThrowCompletionOr<String> serialize_json_array(GlobalObject&, StringifyState&, Object&);
|
||||
static String quote_json_string(String);
|
||||
|
||||
// Parse helpers
|
||||
static Object* parse_json_object(GlobalObject&, const JsonObject&);
|
||||
static Array* parse_json_array(GlobalObject&, const JsonArray&);
|
||||
static Object* parse_json_object(GlobalObject&, JsonObject const&);
|
||||
static Array* parse_json_array(GlobalObject&, JsonArray const&);
|
||||
static ThrowCompletionOr<Value> internalize_json_property(GlobalObject&, Object* holder, PropertyKey const& name, FunctionObject& reviver);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(stringify);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue