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

#include <ast.h>

Inheritance diagram for DoWhileStatement:
Collaboration diagram for DoWhileStatement:

Public Member Functions

void Initialize (Expression *cond, Statement *body)
 
Expressioncond () const
 
int condition_position ()
 
void set_condition_position (int pos)
 
virtual int ContinueId () const
 
virtual int StackCheckId () const
 
int BackEdgeId () const
 
- Public Member Functions inherited from IterationStatement
virtual IterationStatementAsIterationStatement ()
 
Statementbody () const
 
int OsrEntryId () const
 
Label * continue_target ()
 
- Public Member Functions inherited from BreakableStatement
ZoneStringListlabels () const
 
virtual BreakableStatementAsBreakableStatement ()
 
Label * break_target ()
 
bool is_target_for_anonymous () const
 
int EntryId () const
 
int ExitId () const
 
- Public Member Functions inherited from Statement
 Statement ()
 
virtual StatementAsStatement ()
 
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
 
virtual DeclarationAsDeclaration ()
 
virtual ExpressionAsExpression ()
 
virtual TargetCollectorAsTargetCollector ()
 
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

 DoWhileStatement (Isolate *isolate, ZoneStringList *labels)
 
- Protected Member Functions inherited from IterationStatement
 IterationStatement (Isolate *isolate, ZoneStringList *labels)
 
void Initialize (Statement *body)
 
- Protected Member Functions inherited from BreakableStatement
 BreakableStatement (Isolate *isolate, ZoneStringList *labels, Type type)
 

Friends

template<class >
class AstNodeFactory
 

Additional Inherited Members

- Public Types inherited from BreakableStatement
enum  Type { TARGET_FOR_ANONYMOUS, TARGET_FOR_NAMED_ONLY }
 
- Public Types inherited from AstNode
enum  Type { kInvalid = -1 }
 
- Static Public Attributes inherited from AstNode
static const int kNoNumber = -1
 
static const int kFunctionEntryId = 2
 
static const int kDeclarationsId = 3
 
- Static Protected Member Functions inherited from AstNode
static int GetNextId (Isolate *isolate)
 
static int ReserveIdRange (Isolate *isolate, int n)
 

Detailed Description

Definition at line 719 of file ast.h.

Constructor & Destructor Documentation

DoWhileStatement ( Isolate isolate,
ZoneStringList labels 
)
inlineprotected

Definition at line 743 of file ast.h.

Member Function Documentation

int BackEdgeId ( ) const
inline

Definition at line 738 of file ast.h.

Expression* cond ( ) const
inline

Definition at line 728 of file ast.h.

int condition_position ( )
inline

Definition at line 732 of file ast.h.

virtual int ContinueId ( ) const
inlinevirtual

Implements IterationStatement.

Definition at line 736 of file ast.h.

void Initialize ( Expression cond,
Statement body 
)
inline

Definition at line 723 of file ast.h.

References IterationStatement::Initialize().

void set_condition_position ( int  pos)
inline

Definition at line 733 of file ast.h.

virtual int StackCheckId ( ) const
inlinevirtual

Implements IterationStatement.

Definition at line 737 of file ast.h.

Friends And Related Function Documentation

friend class AstNodeFactory
friend

Definition at line 741 of file ast.h.


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