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
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)
 
BailoutId EntryId () const
 
TypeFeedbackId 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 927 of file ast.h.

Constructor & Destructor Documentation

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

Definition at line 1000 of file ast.cc.

Member Function Documentation

Label* body_target ( )
inline

Definition at line 939 of file ast.h.

TypeFeedbackId CompareId ( )
inline

Definition at line 948 of file ast.h.

Referenced by TypeFeedbackOracle::SwitchType().

BailoutId EntryId ( ) const
inline

Definition at line 945 of file ast.h.

bool is_default ( ) const
inline

Definition at line 934 of file ast.h.

References v8::internal::NULL.

bool IsObjectCompare ( )
inline

Definition at line 953 of file ast.h.

bool IsSmiCompare ( )
inline

Definition at line 950 of file ast.h.

bool IsStringCompare ( )
inline

Definition at line 952 of file ast.h.

bool IsSymbolCompare ( )
inline

Definition at line 951 of file ast.h.

Expression* label ( ) const
inline

Definition at line 935 of file ast.h.

References CHECK.

int position ( ) const
inline

Definition at line 942 of file ast.h.

void set_position ( int  pos)
inline

Definition at line 943 of file ast.h.

ZoneList<Statement*>* statements ( ) const
inline

Definition at line 940 of file ast.h.


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