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
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 MakeConst (bool *ok)
 
void MakeModule (bool *ok)
 
void MakeSingleton (Handle< JSModule > instance, bool *ok)
 
void Freeze (bool *ok)
 
bool IsUnknown ()
 
bool IsValue ()
 
bool IsConst ()
 
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 InterfaceNewUnknown (Zone *zone)
 
static InterfaceNewValue ()
 
static InterfaceNewConst ()
 
static InterfaceNewModule (Zone *zone)
 

Detailed Description

Definition at line 57 of file interface.h.

Member Function Documentation

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

Definition at line 85 of file interface.h.

References v8::internal::interface(), and Handle< T >::location().

void Freeze ( bool *  ok)
inline

Definition at line 118 of file interface.h.

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

Handle<JSModule> Instance ( )
inline

Definition at line 141 of file interface.h.

Referenced by Scope::LinkModules().

bool IsConst ( )
inline

Definition at line 133 of file interface.h.

Referenced by Interface::MakeConst(), and Interface::Unify().

bool IsFrozen ( )
inline

Definition at line 139 of file interface.h.

Referenced by Scope::AllocateModules(), and Interface::MakeConst().

bool IsModule ( )
inline
bool IsUnknown ( )
inline

Definition at line 127 of file interface.h.

bool IsValue ( )
inline

Definition at line 130 of file interface.h.

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

Iterator iterator ( ) const
inline

Definition at line 175 of file interface.h.

Referenced by Scope::LinkModules().

void MakeConst ( bool *  ok)
inline

Definition at line 100 of file interface.h.

References Interface::IsConst(), Interface::IsFrozen(), and Interface::IsModule().

Referenced by Interface::Unify().

void MakeModule ( bool *  ok)
inline

Definition at line 106 of file interface.h.

References Interface::IsValue().

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

Definition at line 112 of file interface.h.

References Interface::IsModule().

Referenced by Scope::AllocateModules().

void MakeValue ( bool *  ok)
inline

Definition at line 94 of file interface.h.

References Interface::IsModule().

Referenced by Interface::Unify().

static Interface* NewConst ( )
inlinestatic

Definition at line 71 of file interface.h.

static Interface* NewModule ( Zone zone)
inlinestatic

Definition at line 76 of file interface.h.

static Interface* NewUnknown ( Zone zone)
inlinestatic

Definition at line 62 of file interface.h.

static Interface* NewValue ( )
inlinestatic

Definition at line 66 of file interface.h.

Referenced by Rewriter::Rewrite().


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