| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "src/json-parser.h" | 5 #include "src/json-parser.h" |
| 6 | 6 |
| 7 #include "src/char-predicates-inl.h" | 7 #include "src/char-predicates-inl.h" |
| 8 #include "src/conversions.h" | 8 #include "src/conversions.h" |
| 9 #include "src/debug/debug.h" | 9 #include "src/debug/debug.h" |
| 10 #include "src/factory.h" | 10 #include "src/factory.h" |
| 11 #include "src/field-type.h" | 11 #include "src/field-type.h" |
| 12 #include "src/messages.h" | 12 #include "src/messages.h" |
| 13 #include "src/objects-inl.h" | 13 #include "src/objects-inl.h" |
| 14 #include "src/parsing/scanner.h" | |
| 15 #include "src/parsing/token.h" | 14 #include "src/parsing/token.h" |
| 16 #include "src/property-descriptor.h" | 15 #include "src/property-descriptor.h" |
| 17 #include "src/transitions.h" | 16 #include "src/transitions.h" |
| 17 #include "src/unicode-cache.h" |
| 18 | 18 |
| 19 namespace v8 { | 19 namespace v8 { |
| 20 namespace internal { | 20 namespace internal { |
| 21 | 21 |
| 22 MaybeHandle<Object> JsonParseInternalizer::Internalize(Isolate* isolate, | 22 MaybeHandle<Object> JsonParseInternalizer::Internalize(Isolate* isolate, |
| 23 Handle<Object> object, | 23 Handle<Object> object, |
| 24 Handle<Object> reviver) { | 24 Handle<Object> reviver) { |
| 25 DCHECK(reviver->IsCallable()); | 25 DCHECK(reviver->IsCallable()); |
| 26 JsonParseInternalizer internalizer(isolate, | 26 JsonParseInternalizer internalizer(isolate, |
| 27 Handle<JSReceiver>::cast(reviver)); | 27 Handle<JSReceiver>::cast(reviver)); |
| (...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 AdvanceSkipWhitespace(); | 803 AdvanceSkipWhitespace(); |
| 804 return result; | 804 return result; |
| 805 } | 805 } |
| 806 | 806 |
| 807 // Explicit instantiation. | 807 // Explicit instantiation. |
| 808 template class JsonParser<true>; | 808 template class JsonParser<true>; |
| 809 template class JsonParser<false>; | 809 template class JsonParser<false>; |
| 810 | 810 |
| 811 } // namespace internal | 811 } // namespace internal |
| 812 } // namespace v8 | 812 } // namespace v8 |
| OLD | NEW |