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
9#include "torque-generated/bit-fields.h"
10
11// Has to be the last include (doesn't have include guards):
13
14namespace v8 {
15namespace internal {
16
17class 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
24 : public TorqueGeneratedJSShadowRealm<JSShadowRealm, JSObject> {
25 public:
28
29 class BodyDescriptor;
30
32};
33
34} // namespace internal
35} // namespace v8
36
38
39#endif // V8_OBJECTS_JS_SHADOW_REALM_H_
#define DECL_PRINTER(Name)
#define TQ_OBJECT_CONSTRUCTORS(Type)
#define EXPORT_DECL_VERIFIER(Name)