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
VariableMap Class Reference

#include <scopes.h>

Inheritance diagram for VariableMap:
Collaboration diagram for VariableMap:

Public Member Functions

 VariableMap (Zone *zone)
 
virtual ~VariableMap ()
 
VariableDeclare (Scope *scope, Handle< String > name, VariableMode mode, bool is_valid_lhs, Variable::Kind kind, InitializationFlag initialization_flag, Interface *interface=Interface::NewValue())
 
VariableLookup (Handle< String > name)
 
Zonezone () const
 
- Public Member Functions inherited from TemplateHashMapImpl< ZoneAllocationPolicy >
 TemplateHashMapImpl (MatchFun match, uint32_t capacity=kDefaultHashMapCapacity, ZoneAllocationPolicyallocator=ZoneAllocationPolicy())
 
 ~TemplateHashMapImpl ()
 
Entry * Lookup (void *key, uint32_t hash, bool insert, ZoneAllocationPolicyallocator=ZoneAllocationPolicy())
 
void * Remove (void *key, uint32_t hash)
 
void Clear ()
 
uint32_t occupancy () const
 
uint32_t capacity () const
 
Entry * Start () const
 
Entry * Next (Entry *p) const
 

Additional Inherited Members

- Public Types inherited from TemplateHashMapImpl< ZoneAllocationPolicy >
typedef bool(* MatchFun )(void *key1, void *key2)
 
- Static Public Attributes inherited from TemplateHashMapImpl< ZoneAllocationPolicy >
static const uint32_t kDefaultHashMapCapacity
 

Detailed Description

Definition at line 41 of file scopes.h.

Constructor & Destructor Documentation

VariableMap ( Zone zone)
explicit

Definition at line 59 of file scopes.cc.

~VariableMap ( )
virtual

Definition at line 62 of file scopes.cc.

Member Function Documentation

Zone* zone ( ) const
inline

Definition at line 57 of file scopes.h.

Referenced by VariableMap::Declare().


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