mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Everywhere: Run clang-format
This commit is contained in:
committed by
Linus Groh
parent
0376c127f6
commit
086969277e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user