v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
js-shadow-realm.h
Go to the documentation of this file.
1
// Copyright 2021 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_SHADOW_REALM_H_
6
#define V8_OBJECTS_JS_SHADOW_REALM_H_
7
8
#include "
src/objects/js-objects.h
"
9
#include "torque-generated/bit-fields.h"
10
11
// Has to be the last include (doesn't have include guards):
12
#include "
src/objects/object-macros.h
"
13
14
namespace
v8
{
15
namespace
internal
{
16
17
class
NativeContext;
18
19
#include "torque-generated/src/objects/js-shadow-realm-tq.inc"
20
21
// ShadowRealm object from the JS ShadowRealm spec proposal:
22
// https://github.com/tc39/proposal-shadowrealm
23
class
JSShadowRealm
24
:
public
TorqueGeneratedJSShadowRealm<JSShadowRealm, JSObject> {
25
public
:
26
DECL_PRINTER
(
JSShadowRealm
)
27
EXPORT_DECL_VERIFIER
(
JSShadowRealm
)
28
29
class
BodyDescriptor;
30
31
TQ_OBJECT_CONSTRUCTORS
(
JSShadowRealm
)
32
};
33
34
}
// namespace internal
35
}
// namespace v8
36
37
#include "
src/objects/object-macros-undef.h
"
38
39
#endif
// V8_OBJECTS_JS_SHADOW_REALM_H_
v8::internal::JSShadowRealm
Definition
js-shadow-realm.h:24
js-objects.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
object-macros-undef.h
object-macros.h
DECL_PRINTER
#define DECL_PRINTER(Name)
Definition
object-macros.h:949
TQ_OBJECT_CONSTRUCTORS
#define TQ_OBJECT_CONSTRUCTORS(Type)
Definition
object-macros.h:984
EXPORT_DECL_VERIFIER
#define EXPORT_DECL_VERIFIER(Name)
Definition
object-macros.h:963
src
objects
js-shadow-realm.h
Generated on Sun Apr 6 2025 21:08:55 for v8 by
1.12.0