v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
Context::Scope Class Reference

#include <v8.h>

Public Member Functions

V8_INLINE Scope (Local< Context > context)
 
V8_INLINE ~Scope ()
 

Detailed Description

Stack-allocated class which sets the execution context for all operations executed within a local scope.

Definition at line 10670 of file v8.h.

Constructor & Destructor Documentation

◆ Scope()

V8_INLINE Scope ( Local< Context context)
inlineexplicit

Definition at line 10672 of file v8.h.

References Context::Enter(), and Local< T >::operator->().

◆ ~Scope()

V8_INLINE ~Scope ( )
inline

Definition at line 10675 of file v8.h.

References Context::Exit(), and Local< T >::operator->().


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