v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ContextSlotCache Class Reference

#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
 

Detailed Description

Definition at line 42 of file scopeinfo.h.

Member Function Documentation

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 
)

Friends And Related Function Documentation

friend class Isolate
friend

Definition at line 128 of file scopeinfo.h.

Field Documentation

const int kNotFound = -2
static

The documentation for this class was generated from the following files: