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

#include <declaration-visitor.h>

Collaboration diagram for v8::internal::torque::DeclarationVisitor:

Static Public Member Functions

static void Visit (Ast *ast)
 
static void Visit (Declaration *decl)
 
static void Visit (NamespaceDeclaration *decl)
 
static void Visit (TypeDeclaration *decl)
 
static void Visit (StructDeclaration *decl)
 
static BuiltinCreateBuiltin (BuiltinDeclaration *decl, std::string external_name, std::string readable_name, Signature signature, std::optional< std::string > use_counter_name, std::optional< Statement * > body)
 
static void Visit (ExternalBuiltinDeclaration *decl)
 
static void Visit (ExternalRuntimeDeclaration *decl)
 
static void Visit (ExternalMacroDeclaration *decl)
 
static void Visit (TorqueBuiltinDeclaration *decl)
 
static void Visit (TorqueMacroDeclaration *decl)
 
static void Visit (IntrinsicDeclaration *decl)
 
static void Visit (ConstDeclaration *decl)
 
static void Visit (GenericCallableDeclaration *decl)
 
static void Visit (GenericTypeDeclaration *decl)
 
static void Visit (SpecializationDeclaration *decl)
 
static void Visit (ExternConstDeclaration *decl)
 
static void Visit (CppIncludeDeclaration *decl)
 
static Signature MakeSpecializedSignature (const SpecializationKey< GenericCallable > &key)
 
static CallableSpecializeImplicit (const SpecializationKey< GenericCallable > &key)
 
static CallableSpecialize (const SpecializationKey< GenericCallable > &key, CallableDeclaration *declaration, std::optional< const SpecializationDeclaration * > explicit_specialization, std::optional< Statement * > body, SourcePosition position)
 

Static Private Member Functions

static void DeclareSpecializedTypes (const SpecializationKey< GenericCallable > &key)
 

Detailed Description

Definition at line 64 of file declaration-visitor.h.

Member Function Documentation

◆ CreateBuiltin()

Builtin * v8::internal::torque::DeclarationVisitor::CreateBuiltin ( BuiltinDeclaration * decl,
std::string external_name,
std::string readable_name,
Signature signature,
std::optional< std::string > use_counter_name,
std::optional< Statement * > body )
static

Definition at line 61 of file declaration-visitor.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeclareSpecializedTypes()

void v8::internal::torque::DeclarationVisitor::DeclareSpecializedTypes ( const SpecializationKey< GenericCallable > & key)
staticprivate

Definition at line 343 of file declaration-visitor.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeSpecializedSignature()

Signature v8::internal::torque::DeclarationVisitor::MakeSpecializedSignature ( const SpecializationKey< GenericCallable > & key)
static

Definition at line 363 of file declaration-visitor.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Specialize()

Callable * v8::internal::torque::DeclarationVisitor::Specialize ( const SpecializationKey< GenericCallable > & key,
CallableDeclaration * declaration,
std::optional< const SpecializationDeclaration * > explicit_specialization,
std::optional< Statement * > body,
SourcePosition position )
static

Definition at line 396 of file declaration-visitor.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SpecializeImplicit()

Callable * v8::internal::torque::DeclarationVisitor::SpecializeImplicit ( const SpecializationKey< GenericCallable > & key)
static

Definition at line 374 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [1/17]

static void v8::internal::torque::DeclarationVisitor::Visit ( Ast * ast)
inlinestatic

Definition at line 66 of file declaration-visitor.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Visit() [2/17]

void v8::internal::torque::DeclarationVisitor::Visit ( ConstDeclaration * decl)
static

Definition at line 251 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [3/17]

void v8::internal::torque::DeclarationVisitor::Visit ( CppIncludeDeclaration * decl)
static

Definition at line 339 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [4/17]

void v8::internal::torque::DeclarationVisitor::Visit ( Declaration * decl)
static

Definition at line 48 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [5/17]

void v8::internal::torque::DeclarationVisitor::Visit ( ExternalBuiltinDeclaration * decl)
static

Definition at line 158 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [6/17]

void v8::internal::torque::DeclarationVisitor::Visit ( ExternalMacroDeclaration * decl)
static

Definition at line 206 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [7/17]

void v8::internal::torque::DeclarationVisitor::Visit ( ExternalRuntimeDeclaration * decl)
static

Definition at line 166 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [8/17]

void v8::internal::torque::DeclarationVisitor::Visit ( ExternConstDeclaration * decl)
static

Definition at line 323 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [9/17]

static void v8::internal::torque::DeclarationVisitor::Visit ( GenericCallableDeclaration * decl)
inlinestatic

Definition at line 99 of file declaration-visitor.h.

◆ Visit() [10/17]

static void v8::internal::torque::DeclarationVisitor::Visit ( GenericTypeDeclaration * decl)
inlinestatic

Definition at line 102 of file declaration-visitor.h.

◆ Visit() [11/17]

void v8::internal::torque::DeclarationVisitor::Visit ( IntrinsicDeclaration * decl)
static

Definition at line 246 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [12/17]

static void v8::internal::torque::DeclarationVisitor::Visit ( NamespaceDeclaration * decl)
inlinestatic

Definition at line 71 of file declaration-visitor.h.

Here is the call graph for this function:

◆ Visit() [13/17]

void v8::internal::torque::DeclarationVisitor::Visit ( SpecializationDeclaration * decl)
static

Definition at line 259 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [14/17]

static void v8::internal::torque::DeclarationVisitor::Visit ( StructDeclaration * decl)
inlinestatic

Definition at line 81 of file declaration-visitor.h.

Here is the call graph for this function:

◆ Visit() [15/17]

void v8::internal::torque::DeclarationVisitor::Visit ( TorqueBuiltinDeclaration * decl)
static

Definition at line 217 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [16/17]

void v8::internal::torque::DeclarationVisitor::Visit ( TorqueMacroDeclaration * decl)
static

Definition at line 235 of file declaration-visitor.cc.

Here is the call graph for this function:

◆ Visit() [17/17]

static void v8::internal::torque::DeclarationVisitor::Visit ( TypeDeclaration * decl)
inlinestatic

Definition at line 76 of file declaration-visitor.h.

Here is the call graph for this function:

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