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

#include <v8-context.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 291 of file v8-context.h.

Constructor & Destructor Documentation

◆ Scope()

V8_INLINE Scope ( Local< Context context)
inlineexplicit

Definition at line 293 of file v8-context.h.

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

◆ ~Scope()

V8_INLINE ~Scope ( )
inline

Definition at line 296 of file v8-context.h.

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


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