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
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 Freeze (bool *ok)
 
void Allocate (int index)
 
bool IsUnknown ()
 
bool IsValue ()
 
bool IsConst ()
 
bool IsModule ()
 
bool IsFrozen ()
 
bool IsUnified (Interface *that)
 
int Length ()
 
int Index ()
 
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().

void Allocate ( int  index)
inline

Definition at line 118 of file interface.h.

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

void Freeze ( bool *  ok)
inline

Definition at line 112 of file interface.h.

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

int Index ( )
inline

Definition at line 154 of file interface.h.

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

Referenced by ModuleInfo::Create().

bool IsConst ( )
inline

Definition at line 133 of file interface.h.

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

bool IsUnified ( Interface that)
inline

Definition at line 141 of file interface.h.

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

bool IsUnknown ( )
inline

Definition at line 127 of file interface.h.

bool IsValue ( )
inline
Iterator iterator ( ) const
inline

Definition at line 191 of file interface.h.

Referenced by ModuleInfo::Create().

int Length ( )
inline
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 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.

Referenced by ParserTraits::ExpressionFromIdentifier().

static Interface* NewValue ( )
inlinestatic

Definition at line 66 of file interface.h.


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