v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8_inspector::InjectedScript::ContextScope Class Reference

#include <injected-script.h>

Inheritance diagram for v8_inspector::InjectedScript::ContextScope:
Collaboration diagram for v8_inspector::InjectedScript::ContextScope:

Public Member Functions

 ContextScope (V8InspectorSessionImpl *, int executionContextId)
 
 ~ContextScope () override
 
 ContextScope (const ContextScope &)=delete
 
ContextScopeoperator= (const ContextScope &)=delete
 
- Public Member Functions inherited from v8_inspector::InjectedScript::Scope
Response initialize ()
 
void installCommandLineAPI ()
 
void ignoreExceptionsAndMuteConsole ()
 
void pretendUserGesture ()
 
void allowCodeGenerationFromStrings ()
 
void setTryCatchVerbose ()
 
v8::Local< v8::Contextcontext () const
 
InjectedScriptinjectedScript () const
 
const v8::TryCatchtryCatch () const
 
V8InspectorImplinspector () const
 

Private Member Functions

Response findInjectedScript (V8InspectorSessionImpl *) override
 

Private Attributes

int m_executionContextId
 

Additional Inherited Members

- Protected Member Functions inherited from v8_inspector::InjectedScript::Scope
 Scope (V8InspectorSessionImpl *)
 
virtual ~Scope ()
 
- Protected Attributes inherited from v8_inspector::InjectedScript::Scope
V8InspectorImplm_inspector
 
InjectedScriptm_injectedScript
 

Detailed Description

Definition at line 191 of file injected-script.h.

Constructor & Destructor Documentation

◆ ContextScope() [1/2]

v8_inspector::InjectedScript::ContextScope::ContextScope ( V8InspectorSessionImpl * session,
int executionContextId )

Definition at line 1094 of file injected-script.cc.

◆ ~ContextScope()

v8_inspector::InjectedScript::ContextScope::~ContextScope ( )
overridedefault

◆ ContextScope() [2/2]

v8_inspector::InjectedScript::ContextScope::ContextScope ( const ContextScope & )
delete

Member Function Documentation

◆ findInjectedScript()

Response v8_inspector::InjectedScript::ContextScope::findInjectedScript ( V8InspectorSessionImpl * session)
overrideprivatevirtual

Implements v8_inspector::InjectedScript::Scope.

Definition at line 1101 of file injected-script.cc.

Here is the call graph for this function:

◆ operator=()

ContextScope & v8_inspector::InjectedScript::ContextScope::operator= ( const ContextScope & )
delete

Member Data Documentation

◆ m_executionContextId

int v8_inspector::InjectedScript::ContextScope::m_executionContextId
private

Definition at line 200 of file injected-script.h.


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