v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
js-raw-json-inl.h
Go to the documentation of this file.
1
// Copyright 2022 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_OBJECTS_JS_RAW_JSON_INL_H_
6
#define V8_OBJECTS_JS_RAW_JSON_INL_H_
7
8
#include "
src/objects/js-raw-json.h
"
9
// Include the non-inl header before the rest of the headers.
10
11
#include "
src/objects/objects-inl.h
"
12
13
// Has to be the last include (doesn't have include guards):
14
#include "
src/objects/object-macros.h
"
15
16
namespace
v8
{
17
namespace
internal
{
18
19
#include "torque-generated/src/objects/js-raw-json-tq-inl.inc"
20
21
TQ_OBJECT_CONSTRUCTORS_IMPL
(JSRawJson)
22
23
bool
JSRawJson
::HasInitialLayout(
Isolate
* isolate)
const
{
24
return
map
() == *isolate->js_raw_json_map();
25
}
26
27
}
// namespace internal
28
}
// namespace v8
29
30
#include "
src/objects/object-macros-undef.h
"
31
32
#endif
// V8_OBJECTS_JS_RAW_JSON_INL_H_
v8::internal::Isolate
Definition
isolate.h:586
v8::internal::JSRawJson
Definition
js-raw-json.h:18
map
std::map< const std::string, const std::string > map
Definition
js-date-time-format.cc:268
js-raw-json.h
v8::internal::bool
bool
Definition
js-function-inl.h:486
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
object-macros-undef.h
object-macros.h
TQ_OBJECT_CONSTRUCTORS_IMPL
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)
Definition
object-macros.h:988
objects-inl.h
src
objects
js-raw-json-inl.h
Generated on Sun Apr 6 2025 21:08:55 for v8 by
1.12.0