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

#include <implementation-visitor.h>

Collaboration diagram for v8::internal::torque::BlockBindings< T >:

Public Member Functions

 BlockBindings (BindingsManager< T > *manager)
 
Binding< T > * Add (std::string name, T value, bool mark_as_used=false)
 
Binding< T > * Add (const Identifier *name, T value, bool mark_as_used=false)
 
std::vector< Binding< T > * > bindings () const
 

Private Member Functions

void ReportErrorIfAlreadyBound (const std::string &name)
 

Private Attributes

BindingsManager< T > * manager_
 
std::vector< std::unique_ptr< Binding< T > > > bindings_
 

Detailed Description

template<class T>
class v8::internal::torque::BlockBindings< T >

Definition at line 328 of file implementation-visitor.h.

Constructor & Destructor Documentation

◆ BlockBindings()

template<class T >
v8::internal::torque::BlockBindings< T >::BlockBindings ( BindingsManager< T > * manager)
inlineexplicit

Definition at line 330 of file implementation-visitor.h.

Member Function Documentation

◆ Add() [1/2]

template<class T >
Binding< T > * v8::internal::torque::BlockBindings< T >::Add ( const Identifier * name,
T value,
bool mark_as_used = false )
inline

Definition at line 341 of file implementation-visitor.h.

Here is the call graph for this function:

◆ Add() [2/2]

template<class T >
Binding< T > * v8::internal::torque::BlockBindings< T >::Add ( std::string name,
T value,
bool mark_as_used = false )
inline

Definition at line 331 of file implementation-visitor.h.

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

◆ bindings()

template<class T >
std::vector< Binding< T > * > v8::internal::torque::BlockBindings< T >::bindings ( ) const
inline

Definition at line 351 of file implementation-visitor.h.

◆ ReportErrorIfAlreadyBound()

template<class T >
void v8::internal::torque::BlockBindings< T >::ReportErrorIfAlreadyBound ( const std::string & name)
inlineprivate

Definition at line 361 of file implementation-visitor.h.

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

Member Data Documentation

◆ bindings_

template<class T >
std::vector<std::unique_ptr<Binding<T> > > v8::internal::torque::BlockBindings< T >::bindings_
private

Definition at line 373 of file implementation-visitor.h.

◆ manager_

template<class T >
BindingsManager<T>* v8::internal::torque::BlockBindings< T >::manager_
private

Definition at line 372 of file implementation-visitor.h.


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