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 "src/v8.h" | |
9 | |
10 #include "src/conversions.h" | 8 #include "src/conversions.h" |
11 #include "src/messages.h" | 9 #include "src/messages.h" |
12 #include "src/string-builder.h" | 10 #include "src/string-builder.h" |
13 #include "src/utils.h" | 11 #include "src/utils.h" |
14 | 12 |
15 namespace v8 { | 13 namespace v8 { |
16 namespace internal { | 14 namespace internal { |
17 | 15 |
18 class BasicJsonStringifier BASE_EMBEDDED { | 16 class BasicJsonStringifier BASE_EMBEDDED { |
19 public: | 17 public: |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 SerializeString_<uint8_t, uc16>(object); | 675 SerializeString_<uint8_t, uc16>(object); |
678 } else { | 676 } else { |
679 SerializeString_<uc16, uc16>(object); | 677 SerializeString_<uc16, uc16>(object); |
680 } | 678 } |
681 } | 679 } |
682 } | 680 } |
683 | 681 |
684 } } // namespace v8::internal | 682 } } // namespace v8::internal |
685 | 683 |
686 #endif // V8_JSON_STRINGIFIER_H_ | 684 #endif // V8_JSON_STRINGIFIER_H_ |
OLD | NEW |