![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <types.h>
Public Member Functions | |
std::string | ToExplicitString () const override |
std::string | GetGeneratedTypeNameImpl () const override |
std::string | GetGeneratedTNodeTypeNameImpl () const override |
std::vector< TypeChecker > | GetTypeCheckers () const override |
void | SetConstexprVersion (const Type *) const override |
const Type * | ConstexprVersion () const override |
void | RegisterField (BitField field) |
const std::string & | name () const |
const std::vector< BitField > & | fields () const |
const BitField & | LookupField (const std::string &name) const |
const SourcePosition | GetPosition () const |
![]() | |
Type & | operator= (const Type &other)=delete |
virtual bool | IsSubtypeOf (const Type *supertype) const |
std::string | ToString () const |
virtual std::string | SimpleName () const |
std::string | GetHandleTypeName (HandleKind kind, const std::string &type_name) const |
std::string | TagglifiedCppTypeName () const |
std::string | HandlifiedCppTypeName (HandleKind kind) const |
const Type * | parent () const |
bool | IsVoid () const |
bool | IsNever () const |
bool | IsBool () const |
bool | IsConstexprBool () const |
bool | IsVoidOrNever () const |
bool | IsFloat32 () const |
bool | IsFloat64 () const |
std::string | GetGeneratedTypeName () const |
std::string | GetGeneratedTNodeTypeName () const |
virtual bool | IsConstexpr () const |
virtual bool | IsTransient () const |
virtual const Type * | NonConstexprVersion () const |
virtual std::string | GetConstexprGeneratedTypeName () const |
std::optional< const ClassType * > | ClassSupertype () const |
std::optional< const StructType * > | StructSupertype () const |
std::optional< const AggregateType * > | AggregateSupertype () const |
virtual std::string | GetRuntimeType () const |
virtual std::string | GetDebugType () const |
void | AddAlias (std::string alias) const |
size_t | id () const |
const MaybeSpecializationKey & | GetSpecializedFrom () const |
virtual size_t | AlignmentLog2 () const |
![]() | |
virtual | ~TypeBase ()=default |
bool | IsTopType () const |
bool | IsAbstractType () const |
bool | IsBuiltinPointerType () const |
bool | IsUnionType () const |
bool | IsBitFieldStructType () const |
bool | IsStructType () const |
bool | IsClassType () const |
bool | IsAggregateType () const |
Private Member Functions | |
BitFieldStructType (Namespace *nspace, const Type *parent, const BitFieldStructDeclaration *decl) | |
std::string | SimpleNameImpl () const override |
Private Attributes | |
Namespace * | namespace_ |
const BitFieldStructDeclaration * | decl_ |
std::vector< BitField > | fields_ |
Friends | |
class | TypeOracle |
Additional Inherited Members | |
![]() | |
enum class | HandleKind { kIndirect , kDirect } |
![]() | |
enum class | Kind { kTopType , kAbstractType , kBuiltinPointerType , kUnionType , kBitFieldStructType , kStructType , kClassType } |
![]() | |
static const Type * | CommonSupertype (const Type *a, const Type *b) |
static std::optional< const Type * > | MatchUnaryGeneric (const Type *type, GenericType *generic) |
static std::string | ComputeName (const std::string &basename, MaybeSpecializationKey specialized_from) |
![]() | |
Type (TypeBase::Kind kind, const Type *parent, MaybeSpecializationKey specialized_from=std::nullopt) | |
Type (const Type &other) V8_NOEXCEPT | |
void | set_parent (const Type *t) |
int | Depth () const |
![]() | |
TypeBase (Kind kind) | |
Kind | kind () const |
|
inlineprivate |
|
inlineoverridevirtual |
Reimplemented from v8::internal::torque::Type.
|
inline |
|
inlineoverridevirtual |
Implements v8::internal::torque::Type.
|
inlineoverridevirtual |
Implements v8::internal::torque::Type.
|
inline |
|
inlineoverridevirtual |
Reimplemented from v8::internal::torque::Type.
const BitField & v8::internal::torque::BitFieldStructType::LookupField | ( | const std::string & | name | ) | const |
|
inline |
|
inline |
|
inlineoverridevirtual |
Reimplemented from v8::internal::torque::Type.
|
inlineoverrideprivatevirtual |
Implements v8::internal::torque::Type.
|
overridevirtual |
Implements v8::internal::torque::Type.
Definition at line 417 of file types.cc.
|
friend |
|
private |
|
private |
|
private |