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

#include <injected-script.h>

Inheritance diagram for v8_inspector::InjectedScript::Scope:
Collaboration diagram for v8_inspector::InjectedScript::Scope:

Public Member Functions

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
 

Protected Member Functions

 Scope (V8InspectorSessionImpl *)
 
virtual ~Scope ()
 
virtual Response findInjectedScript (V8InspectorSessionImpl *)=0
 

Protected Attributes

V8InspectorImplm_inspector
 
InjectedScriptm_injectedScript
 

Private Member Functions

void cleanup ()
 
v8::debug::ExceptionBreakState setPauseOnExceptionsState (v8::debug::ExceptionBreakState)
 

Private Attributes

v8::HandleScope m_handleScope
 
v8::TryCatch m_tryCatch
 
v8::Local< v8::Contextm_context
 
std::unique_ptr< V8Console::CommandLineAPIScopem_commandLineAPIScope
 
bool m_ignoreExceptionsAndMuteConsole
 
v8::debug::ExceptionBreakState m_previousPauseOnExceptionsState
 
bool m_userGesture
 
bool m_allowEval
 
int m_contextGroupId
 
int m_sessionId
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Scope()

v8_inspector::InjectedScript::Scope::Scope ( V8InspectorSessionImpl * session)
explicitprotected

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

◆ ~Scope()

v8_inspector::InjectedScript::Scope::~Scope ( )
protectedvirtual

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

Member Function Documentation

◆ allowCodeGenerationFromStrings()

void v8_inspector::InjectedScript::Scope::allowCodeGenerationFromStrings ( )

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

Here is the caller graph for this function:

◆ cleanup()

void v8_inspector::InjectedScript::Scope::cleanup ( )
private

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

◆ context()

v8::Local< v8::Context > v8_inspector::InjectedScript::Scope::context ( ) const
inline

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

Here is the caller graph for this function:

◆ findInjectedScript()

virtual Response v8_inspector::InjectedScript::Scope::findInjectedScript ( V8InspectorSessionImpl * )
protectedpure virtual

◆ ignoreExceptionsAndMuteConsole()

void v8_inspector::InjectedScript::Scope::ignoreExceptionsAndMuteConsole ( )

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

Here is the caller graph for this function:

◆ initialize()

Response v8_inspector::InjectedScript::Scope::initialize ( )

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ injectedScript()

InjectedScript * v8_inspector::InjectedScript::Scope::injectedScript ( ) const
inline

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

Here is the caller graph for this function:

◆ inspector()

V8InspectorImpl * v8_inspector::InjectedScript::Scope::inspector ( ) const
inline

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

◆ installCommandLineAPI()

void v8_inspector::InjectedScript::Scope::installCommandLineAPI ( )

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pretendUserGesture()

void v8_inspector::InjectedScript::Scope::pretendUserGesture ( )

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

Here is the caller graph for this function:

◆ setPauseOnExceptionsState()

v8::debug::ExceptionBreakState v8_inspector::InjectedScript::Scope::setPauseOnExceptionsState ( v8::debug::ExceptionBreakState newState)
private

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

◆ setTryCatchVerbose()

void v8_inspector::InjectedScript::Scope::setTryCatchVerbose ( )

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryCatch()

const v8::TryCatch & v8_inspector::InjectedScript::Scope::tryCatch ( ) const
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ m_allowEval

bool v8_inspector::InjectedScript::Scope::m_allowEval
private

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

◆ m_commandLineAPIScope

std::unique_ptr<V8Console::CommandLineAPIScope> v8_inspector::InjectedScript::Scope::m_commandLineAPIScope
private

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

◆ m_context

v8::Local<v8::Context> v8_inspector::InjectedScript::Scope::m_context
private

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

◆ m_contextGroupId

int v8_inspector::InjectedScript::Scope::m_contextGroupId
private

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

◆ m_handleScope

v8::HandleScope v8_inspector::InjectedScript::Scope::m_handleScope
private

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

◆ m_ignoreExceptionsAndMuteConsole

bool v8_inspector::InjectedScript::Scope::m_ignoreExceptionsAndMuteConsole
private

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

◆ m_injectedScript

InjectedScript* v8_inspector::InjectedScript::Scope::m_injectedScript
protected

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

◆ m_inspector

V8InspectorImpl* v8_inspector::InjectedScript::Scope::m_inspector
protected

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

◆ m_previousPauseOnExceptionsState

v8::debug::ExceptionBreakState v8_inspector::InjectedScript::Scope::m_previousPauseOnExceptionsState
private

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

◆ m_sessionId

int v8_inspector::InjectedScript::Scope::m_sessionId
private

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

◆ m_tryCatch

v8::TryCatch v8_inspector::InjectedScript::Scope::m_tryCatch
private

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

◆ m_userGesture

bool v8_inspector::InjectedScript::Scope::m_userGesture
private

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


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