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

#include <interface.h>

Inheritance diagram for Interface:
Collaboration diagram for Interface:

Data Structures

class  Iterator
 

Public Member Functions

void Add (Handle< String > name, Interface *interface, Zone *zone, bool *ok)
 
void Unify (Interface *that, Zone *zone, bool *ok)
 
void MakeValue (bool *ok)
 
void MakeModule (bool *ok)
 
void MakeSingleton (Handle< JSModule > instance, bool *ok)
 
void Freeze (bool *ok)
 
bool IsUnknown ()
 
bool IsValue ()
 
bool IsModule ()
 
bool IsFrozen ()
 
Handle< JSModuleInstance ()
 
InterfaceLookup (Handle< String > name, Zone *zone)
 
Iterator iterator () const
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Static Public Member Functions

static InterfaceNewValue ()
 
static InterfaceNewUnknown (Zone *zone)
 
static InterfaceNewModule (Zone *zone)
 

Detailed Description

Definition at line 46 of file interface.h.

Member Function Documentation

void Add ( Handle< String name,
Interface interface,
Zone zone,
bool *  ok 
)
inline

Definition at line 69 of file interface.h.

References Handle< T >::location().

void Freeze ( bool *  ok)
inline

Definition at line 96 of file interface.h.

References Interface::IsModule(), and Interface::IsValue().

Handle<JSModule> Instance ( )
inline

Definition at line 116 of file interface.h.

bool IsFrozen ( )
inline

Definition at line 114 of file interface.h.

bool IsModule ( )
inline
bool IsUnknown ( )
inline

Definition at line 105 of file interface.h.

bool IsValue ( )
inline

Definition at line 108 of file interface.h.

Referenced by Interface::Freeze(), Interface::MakeModule(), and Interface::Unify().

Iterator iterator ( ) const
inline

Definition at line 150 of file interface.h.

void MakeModule ( bool *  ok)
inline

Definition at line 84 of file interface.h.

References Interface::IsValue().

void MakeSingleton ( Handle< JSModule instance,
bool *  ok 
)
inline

Definition at line 90 of file interface.h.

References Interface::IsModule().

void MakeValue ( bool *  ok)
inline

Definition at line 78 of file interface.h.

References Interface::IsModule().

Referenced by Interface::Unify().

static Interface* NewModule ( Zone zone)
inlinestatic

Definition at line 60 of file interface.h.

static Interface* NewUnknown ( Zone zone)
inlinestatic

Definition at line 56 of file interface.h.

static Interface* NewValue ( )
inlinestatic

Definition at line 51 of file interface.h.


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