![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <inspected-context.h>
Classes | |
class | ContextCollectedCallbacks |
class | WeakCallbackData |
Public Member Functions | |
~InspectedContext () | |
InspectedContext (const InspectedContext &)=delete | |
InspectedContext & | operator= (const InspectedContext &)=delete |
v8::Local< v8::Context > | context () const |
int | contextId () const |
int | contextGroupId () const |
String16 | origin () const |
String16 | humanReadableName () const |
internal::V8DebuggerId | uniqueId () const |
String16 | auxData () const |
bool | isReported (int sessionId) const |
void | setReported (int sessionId, bool reported) |
v8::Isolate * | isolate () const |
V8InspectorImpl * | inspector () const |
InjectedScript * | getInjectedScript (int sessionId) |
InjectedScript * | createInjectedScript (int sessionId) |
void | discardInjectedScript (int sessionId) |
bool | addInternalObject (v8::Local< v8::Object > object, V8InternalValueType type) |
V8InternalValueType | getInternalType (v8::Local< v8::Object > object) |
Static Public Member Functions | |
static int | contextId (v8::Local< v8::Context >) |
Private Member Functions | |
InspectedContext (V8InspectorImpl *, const V8ContextInfo &, int contextId) | |
Private Attributes | |
V8InspectorImpl * | m_inspector |
v8::Global< v8::Context > | m_context |
int | m_contextId |
int | m_contextGroupId |
const String16 | m_origin |
const String16 | m_humanReadableName |
const String16 | m_auxData |
const internal::V8DebuggerId | m_uniqueId |
std::unordered_set< int > | m_reportedSessionIds |
std::unordered_map< int, std::unique_ptr< InjectedScript > > | m_injectedScripts |
WeakCallbackData * | m_weakCallbackData |
v8::Global< v8::debug::EphemeronTable > | m_internalObjects |
Friends | |
class | V8InspectorImpl |
Definition at line 40 of file inspected-context.h.
v8_inspector::InspectedContext::~InspectedContext | ( | ) |
|
delete |
|
private |
bool v8_inspector::InspectedContext::addInternalObject | ( | v8::Local< v8::Object > | object, |
V8InternalValueType | type ) |
Definition at line 147 of file inspected-context.cc.
|
inline |
v8::Local< v8::Context > v8_inspector::InspectedContext::context | ( | ) | const |
Definition at line 111 of file inspected-context.cc.
|
inline |
Definition at line 50 of file inspected-context.h.
|
inline |
|
static |
Definition at line 107 of file inspected-context.cc.
InjectedScript * v8_inspector::InspectedContext::createInjectedScript | ( | int | sessionId | ) |
void v8_inspector::InspectedContext::discardInjectedScript | ( | int | sessionId | ) |
Definition at line 143 of file inspected-context.cc.
InjectedScript * v8_inspector::InspectedContext::getInjectedScript | ( | int | sessionId | ) |
V8InternalValueType v8_inspector::InspectedContext::getInternalType | ( | v8::Local< v8::Object > | object | ) |
|
inline |
Definition at line 52 of file inspected-context.h.
|
inline |
v8::Isolate * v8_inspector::InspectedContext::isolate | ( | ) | const |
Definition at line 115 of file inspected-context.cc.
bool v8_inspector::InspectedContext::isReported | ( | int | sessionId | ) | const |
Definition at line 119 of file inspected-context.cc.
|
delete |
|
inline |
Definition at line 51 of file inspected-context.h.
void v8_inspector::InspectedContext::setReported | ( | int | sessionId, |
bool | reported ) |
Definition at line 123 of file inspected-context.cc.
|
inline |
|
friend |
Definition at line 71 of file inspected-context.h.
|
private |
Definition at line 83 of file inspected-context.h.
|
private |
Definition at line 78 of file inspected-context.h.
|
private |
Definition at line 80 of file inspected-context.h.
|
private |
Definition at line 79 of file inspected-context.h.
|
private |
Definition at line 82 of file inspected-context.h.
|
private |
Definition at line 86 of file inspected-context.h.
|
private |
Definition at line 77 of file inspected-context.h.
|
private |
Definition at line 88 of file inspected-context.h.
|
private |
Definition at line 81 of file inspected-context.h.
|
private |
Definition at line 85 of file inspected-context.h.
|
private |
Definition at line 84 of file inspected-context.h.
|
private |
Definition at line 87 of file inspected-context.h.