| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_JSON_STRINGIFIER_H_ | 5 #ifndef V8_JSON_STRINGIFIER_H_ |
| 6 #define V8_JSON_STRINGIFIER_H_ | 6 #define V8_JSON_STRINGIFIER_H_ |
| 7 | 7 |
| 8 #include "v8.h" | 8 #include "src/v8.h" |
| 9 #include "conversions.h" | 9 #include "src/conversions.h" |
| 10 #include "utils.h" | 10 #include "src/utils.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 class BasicJsonStringifier BASE_EMBEDDED { | 15 class BasicJsonStringifier BASE_EMBEDDED { |
| 16 public: | 16 public: |
| 17 explicit BasicJsonStringifier(Isolate* isolate); | 17 explicit BasicJsonStringifier(Isolate* isolate); |
| 18 | 18 |
| 19 MUST_USE_RESULT MaybeHandle<Object> Stringify(Handle<Object> object); | 19 MUST_USE_RESULT MaybeHandle<Object> Stringify(Handle<Object> object); |
| 20 | 20 |
| (...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 SerializeString_<false, uint8_t>(object); | 877 SerializeString_<false, uint8_t>(object); |
| 878 } else { | 878 } else { |
| 879 SerializeString_<false, uc16>(object); | 879 SerializeString_<false, uc16>(object); |
| 880 } | 880 } |
| 881 } | 881 } |
| 882 } | 882 } |
| 883 | 883 |
| 884 } } // namespace v8::internal | 884 } } // namespace v8::internal |
| 885 | 885 |
| 886 #endif // V8_JSON_STRINGIFIER_H_ | 886 #endif // V8_JSON_STRINGIFIER_H_ |
| OLD | NEW |