Go to the source code of this file.
|
#define | DECL_TYPE(type, ...) |
|
#define | INSTANCE_TYPE_MAP(V, rootIndexName, rootAccessorName, class_name) |
|
#define | INSTANCE_TYPE_CHECK(it, forinstancetype) |
|
#define | INSTANCE_TYPE_CHECKER1(type, forinstancetype) |
|
#define | INSTANCE_TYPE_CHECKER2(type, forinstancetype) |
|
#define | INSTANCE_TYPE_CHECKER_RANGE1(type, first_instance_type, last_instance_type) |
|
#define | INSTANCE_TYPE_CHECKER_RANGE2(type, first_instance_type, last_instance_type) |
|
#define | TYPE_CHECKER(type, ...) |
|
◆ DECL_TYPE
#define DECL_TYPE |
( |
| type, |
|
|
| ... ) |
◆ INSTANCE_TYPE_CHECK
#define INSTANCE_TYPE_CHECK |
( |
| it, |
|
|
| forinstancetype ) |
Value: if (type == forinstancetype) { \
return InstanceTypeChecker::UniqueMapOfInstanceTypeCheck< \
InstanceTypeChecker::InstanceTypeTraits::it>(); \
}
◆ INSTANCE_TYPE_CHECKER1
#define INSTANCE_TYPE_CHECKER1 |
( |
| type, |
|
|
| forinstancetype ) |
◆ INSTANCE_TYPE_CHECKER2
#define INSTANCE_TYPE_CHECKER2 |
( |
| type, |
|
|
| forinstancetype ) |
◆ INSTANCE_TYPE_CHECKER_RANGE1
#define INSTANCE_TYPE_CHECKER_RANGE1 |
( |
| type, |
|
|
| first_instance_type, |
|
|
| last_instance_type ) |
Value: V8_INLINE constexpr bool Is##
type(InstanceType instance_type) { \
return InstanceRangeChecker<first_instance_type, \
last_instance_type>::Check(instance_type); \
}
Definition at line 263 of file instance-type-inl.h.
◆ INSTANCE_TYPE_CHECKER_RANGE2
#define INSTANCE_TYPE_CHECKER_RANGE2 |
( |
| type, |
|
|
| first_instance_type, |
|
|
| last_instance_type ) |
◆ INSTANCE_TYPE_MAP
#define INSTANCE_TYPE_MAP |
( |
| V, |
|
|
| rootIndexName, |
|
|
| rootAccessorName, |
|
|
| class_name ) |
Value: template <> \
V8_INLINE consteval std::optional<RootIndex> \
UniqueMapOfInstanceTypeCheck<InstanceTypeTraits::class_name>() { \
return {RootIndex::k##rootIndexName}; \
}
Definition at line 49 of file instance-type-inl.h.
◆ TYPE_CHECKER
#define TYPE_CHECKER |
( |
| type, |
|
|
| ... ) |
Value: bool Is##type##Map(Tagged<Map> map) { \
return InstanceTypeChecker::Is##
type(map); \
}
Definition at line 516 of file instance-type-inl.h.