v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <scopeinfo.h>
Public Member Functions | |
int | Lookup (Object *data, String *name, VariableMode *mode, InitializationFlag *init_flag) |
void | Update (Object *data, String *name, VariableMode mode, InitializationFlag init_flag, int slot_index) |
void | Clear () |
Static Public Attributes | |
static const int | kNotFound = -2 |
Friends | |
class | Isolate |
Definition at line 42 of file scopeinfo.h.
void Clear | ( | ) |
Definition at line 460 of file scopeinfo.cc.
References v8::internal::NULL.
int Lookup | ( | Object * | data, |
String * | name, | ||
VariableMode * | mode, | ||
InitializationFlag * | init_flag | ||
) |
Definition at line 422 of file scopeinfo.cc.
References ContextSlotCache::kNotFound, and v8::internal::NULL.
Referenced by ScopeInfo::ContextSlotIndex().
void Update | ( | Object * | data, |
String * | name, | ||
VariableMode | mode, | ||
InitializationFlag | init_flag, | ||
int | slot_index | ||
) |
Definition at line 438 of file scopeinfo.cc.
References ASSERT, HeapObject::GetIsolate(), Isolate::heap(), Heap::InternalizeStringIfExists(), and ContextSlotCache::kNotFound.
Referenced by ScopeInfo::ContextSlotIndex().
|
friend |
Definition at line 128 of file scopeinfo.h.
|
static |
Definition at line 61 of file scopeinfo.h.
Referenced by ScopeInfo::ContextSlotIndex(), ContextSlotCache::Lookup(), and ContextSlotCache::Update().