v8
3.14.5(node0.10.28)
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 435 of file scopeinfo.cc.
References v8::internal::NULL.
int Lookup | ( | Object * | data, |
String * | name, | ||
VariableMode * | mode, | ||
InitializationFlag * | init_flag | ||
) |
Definition at line 398 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 414 of file scopeinfo.cc.
References ASSERT, HEAP, 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().