v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
contexts.h File Reference
#include "heap.h"
#include "objects.h"
Include dependency graph for contexts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Context
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define NATIVE_CONTEXT_FIELDS(V)
 
#define NATIVE_CONTEXT_FIELD_ACCESSORS(index, type, name)
 

Enumerations

enum  ContextLookupFlags { FOLLOW_CONTEXT_CHAIN = 1, FOLLOW_PROTOTYPE_CHAIN = 2, DONT_FOLLOW_CHAINS = 0, FOLLOW_CHAINS = FOLLOW_CONTEXT_CHAIN | FOLLOW_PROTOTYPE_CHAIN }
 
enum  BindingFlags {
  MUTABLE_IS_INITIALIZED, MUTABLE_CHECK_INITIALIZED, IMMUTABLE_IS_INITIALIZED, IMMUTABLE_CHECK_INITIALIZED,
  IMMUTABLE_IS_INITIALIZED_HARMONY, IMMUTABLE_CHECK_INITIALIZED_HARMONY, MISSING_BINDING
}
 

Macro Definition Documentation

#define NATIVE_CONTEXT_FIELD_ACCESSORS (   index,
  type,
  name 
)
Value:
void set_##name(type* value) { \
ASSERT(IsNativeContext()); \
set(index, value); \
} \
type* name() { \
ASSERT(IsNativeContext()); \
return type::cast(get(index)); \
}
#define ASSERT(condition)
Definition: checks.h:270

Definition at line 389 of file contexts.h.

#define NATIVE_CONTEXT_FIELDS (   V)

Definition at line 99 of file contexts.h.