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

#include <ast.h>

Inheritance diagram for CaseClause:
Collaboration diagram for CaseClause:

Public Member Functions

 CaseClause (Isolate *isolate, Expression *label, ZoneList< Statement * > *statements, int pos)
 
bool is_default () const
 
Expressionlabel () const
 
Label * body_target ()
 
ZoneList< Statement * > * statements () const
 
int position () const
 
void set_position (int pos)
 
int EntryId ()
 
int CompareId ()
 
void RecordTypeFeedback (TypeFeedbackOracle *oracle)
 
bool IsSmiCompare ()
 
bool IsSymbolCompare ()
 
bool IsStringCompare ()
 
bool IsObjectCompare ()
 
- 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)
 

Detailed Description

Definition at line 985 of file ast.h.

Constructor & Destructor Documentation

CaseClause ( Isolate isolate,
Expression label,
ZoneList< Statement * > *  statements,
int  pos 
)

Definition at line 995 of file ast.cc.

Member Function Documentation

Label* body_target ( )
inline

Definition at line 997 of file ast.h.

int CompareId ( )
inline

Definition at line 1004 of file ast.h.

int EntryId ( )
inline

Definition at line 1003 of file ast.h.

bool is_default ( ) const
inline

Definition at line 992 of file ast.h.

References v8::internal::NULL.

bool IsObjectCompare ( )
inline

Definition at line 1011 of file ast.h.

bool IsSmiCompare ( )
inline

Definition at line 1008 of file ast.h.

bool IsStringCompare ( )
inline

Definition at line 1010 of file ast.h.

bool IsSymbolCompare ( )
inline

Definition at line 1009 of file ast.h.

Expression* label ( ) const
inline

Definition at line 993 of file ast.h.

References CHECK.

int position ( ) const
inline

Definition at line 1000 of file ast.h.

void RecordTypeFeedback ( TypeFeedbackOracle *  oracle)
void set_position ( int  pos)
inline

Definition at line 1001 of file ast.h.

ZoneList<Statement*>* statements ( ) const
inline

Definition at line 998 of file ast.h.


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