|
V8 Project
|
NativesStore stores the 'native' (builtin) JS libraries. More...
Collaboration diagram for v8::internal::NativesStore:Public Member Functions | |
| ~NativesStore () | |
| int | GetBuiltinsCount () |
| int | GetDebuggerCount () |
| Vector< const char > | GetScriptName (int index) |
| Vector< const char > | GetRawScriptSource (int index) |
| int | GetIndex (const char *name) |
| int | GetRawScriptsSize () |
| Vector< const byte > | GetScriptsSource () |
Static Public Member Functions | |
| static NativesStore * | MakeFromScriptsSource (SnapshotByteSource *source) |
Private Member Functions | |
| NativesStore () | |
| bool | ReadNameAndContentPair (SnapshotByteSource *bytes) |
| DISALLOW_COPY_AND_ASSIGN (NativesStore) | |
Private Attributes | |
| List< Vector< const char > > | native_names_ |
| List< Vector< const char > > | native_source_ |
| int | debugger_count_ |
NativesStore stores the 'native' (builtin) JS libraries.
NativesStore needs to be initialized before using V8, usually by the embedder calling v8::SetNativesDataBlob, which calls SetNativesFromFile below.
Definition at line 24 of file natives-external.cc.
|
inline |
Definition at line 26 of file natives-external.cc.
|
inlineprivate |
Definition at line 76 of file natives-external.cc.
Referenced by MakeFromScriptsSource().
Here is the caller graph for this function:
|
private |
|
inline |
Definition at line 28 of file natives-external.cc.
References native_names_.
Referenced by v8::internal::NativesCollection< type >::GetBuiltinsCount().
Here is the caller graph for this function:
|
inline |
Definition at line 29 of file natives-external.cc.
References debugger_count_.
Referenced by v8::internal::NativesCollection< type >::GetDebuggerCount().
Here is the caller graph for this function:
|
inline |
Definition at line 35 of file natives-external.cc.
References DCHECK, name, and native_names_.
Referenced by v8::internal::NativesCollection< type >::GetIndex().
Here is the caller graph for this function:Definition at line 31 of file natives-external.cc.
References native_source_.
Referenced by v8::internal::NativesCollection< type >::GetRawScriptSource().
Here is the caller graph for this function:
|
inline |
Definition at line 47 of file natives-external.cc.
References DCHECK.
Referenced by v8::internal::NativesCollection< type >::GetRawScriptsSize().
Here is the caller graph for this function:Definition at line 30 of file natives-external.cc.
References native_names_.
Referenced by v8::internal::NativesCollection< type >::GetScriptName().
Here is the caller graph for this function:Definition at line 52 of file natives-external.cc.
References DCHECK.
Referenced by v8::internal::NativesCollection< type >::GetScriptsSource().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 57 of file natives-external.cc.
References debugger_count_, NativesStore(), and ReadNameAndContentPair().
Referenced by v8::internal::SetNativesFromFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 78 of file natives-external.cc.
References name, native_names_, and native_source_.
Referenced by MakeFromScriptsSource().
Here is the caller graph for this function:
|
private |
Definition at line 98 of file natives-external.cc.
Referenced by GetDebuggerCount(), and MakeFromScriptsSource().
Definition at line 96 of file natives-external.cc.
Referenced by GetBuiltinsCount(), GetIndex(), GetScriptName(), and ReadNameAndContentPair().
Definition at line 97 of file natives-external.cc.
Referenced by GetRawScriptSource(), and ReadNameAndContentPair().