v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ContextualVariable< Derived, VarType > Class Template Reference

#include <contextual.h>

Inheritance diagram for v8::base::ContextualVariable< Derived, VarType >:
Collaboration diagram for v8::base::ContextualVariable< Derived, VarType >:

Classes

class  Scope
 

Public Types

using VarT = VarType
 

Static Public Member Functions

static VarType & Get ()
 
static bool HasScope ()
 

Static Private Member Functions

static Scope *& Top ()
 
static Scope *& ExportedTop ()
 

Static Private Attributes

static thread_local Scopetop_ = nullptr
 

Detailed Description

template<class Derived, class VarType>
class v8::base::ContextualVariable< Derived, VarType >

Definition at line 27 of file contextual.h.

Member Typedef Documentation

◆ VarT

template<class Derived , class VarType >
using v8::base::ContextualVariable< Derived, VarType >::VarT = VarType

Definition at line 29 of file contextual.h.

Member Function Documentation

◆ ExportedTop()

template<class Derived , class VarType >
static Scope *& v8::base::ContextualVariable< Derived, VarType >::ExportedTop ( )
staticprivate

◆ Get()

template<class Derived , class VarType >
static VarType & v8::base::ContextualVariable< Derived, VarType >::Get ( )
inlinestatic

Definition at line 64 of file contextual.h.

◆ HasScope()

template<class Derived , class VarType >
static bool v8::base::ContextualVariable< Derived, VarType >::HasScope ( )
inlinestatic

Definition at line 69 of file contextual.h.

◆ Top()

template<class Derived , class VarType >
static Scope *& v8::base::ContextualVariable< Derived, VarType >::Top ( )
inlinestaticprivate

Definition at line 79 of file contextual.h.

Member Data Documentation

◆ top_

template<class Derived , class VarType >
thread_local Scope* v8::base::ContextualVariable< Derived, VarType >::top_ = nullptr
inlinestaticprivate

Definition at line 72 of file contextual.h.


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