v8  8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
Context::BackupIncumbentScope Class Referencefinal

#include <v8.h>

Public Member Functions

 BackupIncumbentScope (Local< Context > backup_incumbent_context)
 
 ~BackupIncumbentScope ()
 
uintptr_t JSStackComparableAddress () const
 

Friends

class internal::Isolate
 

Detailed Description

Stack-allocated class to support the backup incumbent settings object stack. https://html.spec.whatwg.org/multipage/webappapis.html#backup-incumbent-settings-object-stack

Definition at line 10445 of file v8.h.

Constructor & Destructor Documentation

◆ BackupIncumbentScope()

BackupIncumbentScope ( Local< Context backup_incumbent_context)
explicit

|backup_incumbent_context| is pushed onto the backup incumbent settings object stack.

◆ ~BackupIncumbentScope()

Member Function Documentation

◆ JSStackComparableAddress()

uintptr_t JSStackComparableAddress ( ) const
inline

Returns address that is comparable with JS stack address. Note that JS stack may be allocated separately from the native stack. See also |TryCatch::JSStackComparableAddress| for details.

Definition at line 10459 of file v8.h.

Friends And Related Function Documentation

◆ internal::Isolate

friend class internal::Isolate
friend

Definition at line 10464 of file v8.h.


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