v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
promise-inl.h
Go to the documentation of this file.
1
// Copyright 2018 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_PROMISE_INL_H_
6
#define V8_OBJECTS_PROMISE_INL_H_
7
8
#include "
src/objects/promise.h
"
9
// Include the non-inl header before the rest of the headers.
10
11
#include "
src/objects/js-promise-inl.h
"
12
#include "
src/objects/microtask-inl.h
"
13
14
// Has to be the last include (doesn't have include guards):
15
#include "
src/objects/object-macros.h
"
16
17
namespace
v8
{
18
namespace
internal
{
19
20
#include "torque-generated/src/objects/promise-tq-inl.inc"
21
22
TQ_OBJECT_CONSTRUCTORS_IMPL
(PromiseReactionJobTask)
23
TQ_OBJECT_CONSTRUCTORS_IMPL
(PromiseFulfillReactionJobTask)
24
TQ_OBJECT_CONSTRUCTORS_IMPL
(PromiseRejectReactionJobTask)
25
TQ_OBJECT_CONSTRUCTORS_IMPL
(PromiseResolveThenableJobTask)
26
TQ_OBJECT_CONSTRUCTORS_IMPL
(PromiseCapability)
27
TQ_OBJECT_CONSTRUCTORS_IMPL
(PromiseReaction)
28
29
}
// namespace internal
30
}
// namespace v8
31
32
#include "
src/objects/object-macros-undef.h
"
33
34
#endif
// V8_OBJECTS_PROMISE_INL_H_
js-promise-inl.h
microtask-inl.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
TQ_OBJECT_CONSTRUCTORS_IMPL
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)
Definition
object-macros.h:988
promise.h
src
objects
promise-inl.h
Generated on Sun Apr 6 2025 21:08:56 for v8 by
1.12.0