v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::torque::GenericType Class Reference

#include <declarable.h>

Inheritance diagram for v8::internal::torque::GenericType:
Collaboration diagram for v8::internal::torque::GenericType:

Private Member Functions

 GenericType (const std::string &name, GenericTypeDeclaration *generic_declaration)
 

Friends

class Declarations
 

Additional Inherited Members

- Public Types inherited from v8::internal::torque::GenericDeclarable< const Type *, GenericTypeDeclaration * >
using iterator
 
- Public Types inherited from v8::internal::torque::Declarable
enum  Kind {
  kNamespace , kTorqueMacro , kExternMacro , kMethod ,
  kBuiltin , kRuntimeFunction , kIntrinsic , kGenericCallable ,
  kGenericType , kTypeAlias , kExternConstant , kNamespaceConstant
}
 
- Public Member Functions inherited from v8::internal::torque::GenericDeclarable< const Type *, GenericTypeDeclaration * >
void AddSpecialization (const TypeVector &type_arguments, const Type *specialization)
 
std::optional< const Type * > GetSpecialization (const TypeVector &type_arguments) const
 
iterator begin () const
 
iterator end () const
 
const std::string & name () const
 
auto declaration () const
 
const GenericParametersgeneric_parameters () const
 
const std::vector< TypeConstraint > & Constraints ()
 
- Public Member Functions inherited from v8::internal::torque::Declarable
virtual ~Declarable ()=default
 
Kind kind () const
 
bool IsNamespace () const
 
bool IsMacro () const
 
bool IsTorqueMacro () const
 
bool IsMethod () const
 
bool IsExternMacro () const
 
bool IsIntrinsic () const
 
bool IsBuiltin () const
 
bool IsRuntimeFunction () const
 
bool IsGenericCallable () const
 
bool IsGenericType () const
 
bool IsTypeAlias () const
 
bool IsExternConstant () const
 
bool IsNamespaceConstant () const
 
bool IsValue () const
 
bool IsScope () const
 
bool IsCallable () const
 
virtual const char * type_name () const
 
ScopeParentScope () const
 
SourcePosition Position () const
 
void SetPosition (const SourcePosition &position)
 
SourcePosition IdentifierPosition () const
 
void SetIdentifierPosition (const SourcePosition &position)
 
bool IsUserDefined () const
 
void SetIsUserDefined (bool is_user_defined)
 
- Protected Member Functions inherited from v8::internal::torque::GenericDeclarable< const Type *, GenericTypeDeclaration * >
 GenericDeclarable (Declarable::Kind kind, const std::string &name, GenericTypeDeclaration *generic_declaration)
 
- Protected Member Functions inherited from v8::internal::torque::Declarable
 Declarable (Kind kind)
 

Detailed Description

Definition at line 656 of file declarable.h.

Constructor & Destructor Documentation

◆ GenericType()

v8::internal::torque::GenericType::GenericType ( const std::string & name,
GenericTypeDeclaration * generic_declaration )
inlineprivate

Definition at line 663 of file declarable.h.

Friends And Related Symbol Documentation

◆ Declarations

friend class Declarations
friend

Definition at line 662 of file declarable.h.


The documentation for this class was generated from the following file: