V8 Project
|
Classes | |
class | RealmScope |
Public Member Functions | |
PerIsolateData (Isolate *isolate) | |
~PerIsolateData () | |
Static Public Member Functions | |
static PerIsolateData * | Get (Isolate *isolate) |
Private Member Functions | |
int | RealmIndexOrThrow (const v8::FunctionCallbackInfo< v8::Value > &args, int arg_offset) |
int | RealmFind (Handle< Context > context) |
Private Attributes | |
Isolate * | isolate_ |
int | realm_count_ |
int | realm_current_ |
int | realm_switch_ |
Persistent< Context > * | realms_ |
Persistent< Value > | realm_shared_ |
Friends | |
class | Shell |
class | RealmScope |
|
inlineexplicit |
Definition at line 80 of file d8.cc.
References v8::Isolate::SetData().
|
inline |
|
inlinestatic |
Definition at line 89 of file d8.cc.
References v8::Isolate::GetData().
Referenced by v8::SourceGroup::ExecuteInThread(), v8::Shell::ExecuteString(), v8::Shell::RealmCreate(), v8::Shell::RealmCurrent(), v8::Shell::RealmDispose(), v8::Shell::RealmEval(), v8::Shell::RealmGlobal(), v8::Shell::RealmOwner(), v8::Shell::RealmSharedGet(), v8::Shell::RealmSharedSet(), v8::Shell::RealmSwitch(), v8::Shell::RunMain(), and v8::Shell::RunShell().
Definition at line 307 of file d8.cc.
References realm_count_, and realms_.
Referenced by v8::Shell::RealmCurrent(), and v8::Shell::RealmOwner().
|
private |
Definition at line 315 of file d8.cc.
References v8::FunctionCallbackInfo< T >::GetIsolate(), v8::FunctionCallbackInfo< T >::Length(), realm_count_, realms_, and v8::Throw().
Referenced by v8::Shell::RealmDispose(), v8::Shell::RealmEval(), v8::Shell::RealmGlobal(), and v8::Shell::RealmSwitch().
|
friend |
|
private |
Definition at line 104 of file d8.cc.
Referenced by v8::PerIsolateData::RealmScope::RealmScope(), and ~PerIsolateData().
|
private |
Definition at line 105 of file d8.cc.
Referenced by v8::Shell::RealmCreate(), RealmFind(), RealmIndexOrThrow(), and v8::PerIsolateData::RealmScope::RealmScope().
|
private |
Definition at line 106 of file d8.cc.
Referenced by v8::Shell::ExecuteString(), v8::Shell::RealmDispose(), and v8::PerIsolateData::RealmScope::RealmScope().
|
private |
Definition at line 109 of file d8.cc.
Referenced by v8::Shell::RealmSharedGet(), and v8::Shell::RealmSharedSet().
|
private |
Definition at line 107 of file d8.cc.
Referenced by v8::Shell::ExecuteString(), v8::Shell::RealmDispose(), v8::PerIsolateData::RealmScope::RealmScope(), and v8::Shell::RealmSwitch().
|
private |
Definition at line 108 of file d8.cc.
Referenced by v8::Shell::ExecuteString(), v8::Shell::RealmCreate(), v8::Shell::RealmDispose(), v8::Shell::RealmEval(), RealmFind(), v8::Shell::RealmGlobal(), RealmIndexOrThrow(), and v8::PerIsolateData::RealmScope::RealmScope().