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

#include <ast.h>

Inheritance diagram for BreakableStatement:
Collaboration diagram for BreakableStatement:

Public Types

enum  Type { TARGET_FOR_ANONYMOUS, TARGET_FOR_NAMED_ONLY }
 
- Public Types inherited from AstNode
enum  Type { kInvalid = -1 }
 

Public Member Functions

ZoneStringListlabels () const
 
virtual BreakableStatementAsBreakableStatement ()
 
Label * break_target ()
 
bool is_target_for_anonymous () const
 
BailoutId EntryId () const
 
BailoutId ExitId () const
 
- Public Member Functions inherited from Statement
 Statement ()
 
bool IsEmpty ()
 
void set_statement_pos (int statement_pos)
 
int statement_pos () const
 
- Public Member Functions inherited from AstNode
void * operator new (size_t size, Zone *zone)
 
 AstNode ()
 
virtual ~AstNode ()
 
virtual void Accept (AstVisitor *v)=0
 
virtual Type node_type () const =0
 
virtual TargetCollectorAsTargetCollector ()
 
virtual IterationStatementAsIterationStatement ()
 
virtual MaterializedLiteralAsMaterializedLiteral ()
 
- 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)
 

Protected Member Functions

 BreakableStatement (Isolate *isolate, ZoneStringList *labels, Type type)
 

Additional Inherited Members

- Static Protected Member Functions inherited from AstNode
static int GetNextId (Isolate *isolate)
 
static int ReserveIdRange (Isolate *isolate, int n)
 
static TypeFeedbackId reuse (BailoutId id)
 

Detailed Description

Definition at line 366 of file ast.h.

Member Enumeration Documentation

enum Type
Enumerator
TARGET_FOR_ANONYMOUS 
TARGET_FOR_NAMED_ONLY 

Definition at line 368 of file ast.h.

Constructor & Destructor Documentation

BreakableStatement ( Isolate isolate,
ZoneStringList labels,
Type  type 
)
inlineprotected

Definition at line 390 of file ast.h.

References ASSERT, and v8::internal::NULL.

Member Function Documentation

virtual BreakableStatement* AsBreakableStatement ( )
inlinevirtual

Reimplemented from AstNode.

Definition at line 378 of file ast.h.

Label* break_target ( )
inline

Definition at line 381 of file ast.h.

BailoutId EntryId ( ) const
inline

Definition at line 386 of file ast.h.

Referenced by HBasicBlock::PostProcessLoopHeader().

BailoutId ExitId ( ) const
inline

Definition at line 387 of file ast.h.

bool is_target_for_anonymous ( ) const
inline

Definition at line 384 of file ast.h.

ZoneStringList* labels ( ) const
inline

Definition at line 375 of file ast.h.


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