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

#include <ast.h>

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

Public Member Functions

 AbstractTypeDeclaration (SourcePosition pos, Identifier *name, AbstractTypeFlags flags, std::optional< TypeExpression * > extends, std::optional< std::string > generates)
 
bool IsConstexpr () const
 
bool IsTransient () const
 
- Public Member Functions inherited from v8::internal::torque::TypeDeclaration
 TypeDeclaration (Kind kKind, SourcePosition pos, Identifier *name)
 
- Public Member Functions inherited from v8::internal::torque::Declaration
 Declaration (Kind kind, SourcePosition pos)
 
- Public Member Functions inherited from v8::internal::torque::AstNode
 AstNode (Kind kind, SourcePosition pos)
 
virtual ~AstNode ()=default
 

Public Attributes

AbstractTypeFlags flags
 
std::optional< TypeExpression * > extends
 
std::optional< std::string > generates
 
- Public Attributes inherited from v8::internal::torque::TypeDeclaration
Identifiername
 
- Public Attributes inherited from v8::internal::torque::AstNode
const Kind kind
 
SourcePosition pos
 

Additional Inherited Members

- Public Types inherited from v8::internal::torque::AstNode
enum class  Kind { ENUM_ITEM }
 

Detailed Description

Definition at line 873 of file ast.h.

Constructor & Destructor Documentation

◆ AbstractTypeDeclaration()

v8::internal::torque::AbstractTypeDeclaration::AbstractTypeDeclaration ( SourcePosition pos,
Identifier * name,
AbstractTypeFlags flags,
std::optional< TypeExpression * > extends,
std::optional< std::string > generates )
inline

Definition at line 875 of file ast.h.

Here is the call graph for this function:

Member Function Documentation

◆ IsConstexpr()

bool v8::internal::torque::AbstractTypeDeclaration::IsConstexpr ( ) const
inline

Definition at line 887 of file ast.h.

Here is the caller graph for this function:

◆ IsTransient()

bool v8::internal::torque::AbstractTypeDeclaration::IsTransient ( ) const
inline

Definition at line 888 of file ast.h.

Here is the caller graph for this function:

Member Data Documentation

◆ extends

std::optional<TypeExpression*> v8::internal::torque::AbstractTypeDeclaration::extends

Definition at line 891 of file ast.h.

◆ flags

AbstractTypeFlags v8::internal::torque::AbstractTypeDeclaration::flags

Definition at line 890 of file ast.h.

◆ generates

std::optional<std::string> v8::internal::torque::AbstractTypeDeclaration::generates

Definition at line 892 of file ast.h.


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