v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ForStatement Class Referencefinal

#include <ast.h>

Inheritance diagram for v8::internal::ForStatement:
Collaboration diagram for v8::internal::ForStatement:

Public Member Functions

void Initialize (Statement *init, Expression *cond, Statement *next, Statement *body)
 
Statementinit () const
 
Expressioncond () const
 
Statementnext () const
 
- Public Member Functions inherited from v8::internal::IterationStatement
Statementbody () const
 
void set_body (Statement *s)
 
- Public Member Functions inherited from v8::internal::AstNode
NodeType node_type () const
 
int position () const
 
IterationStatementAsIterationStatement ()
 
MaterializedLiteralAsMaterializedLiteral ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Member Functions

 ForStatement (int pos)
 

Private Attributes

friend Zone
 
Statementinit_
 
Expressioncond_
 
Statementnext_
 

Friends

class AstNodeFactory
 

Additional Inherited Members

- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t
 
- Protected Types inherited from v8::internal::AstNode
template<class T , int size>
using NextBitField = NodeTypeField::Next<T, size>
 
- Protected Member Functions inherited from v8::internal::IterationStatement
 IterationStatement (int pos, NodeType type)
 
void Initialize (Statement *body)
 
- Protected Member Functions inherited from v8::internal::BreakableStatement
 BreakableStatement (int position, NodeType type)
 
- Protected Member Functions inherited from v8::internal::Statement
 Statement (int position, NodeType type)
 
- Protected Member Functions inherited from v8::internal::AstNode
 AstNode (int position, NodeType type)
 
- Protected Attributes inherited from v8::internal::AstNode
uint32_t bit_field_
 

Detailed Description

Definition at line 504 of file ast.h.

Constructor & Destructor Documentation

◆ ForStatement()

v8::internal::ForStatement::ForStatement ( int pos)
inlineexplicitprivate

Definition at line 522 of file ast.h.

Member Function Documentation

◆ cond()

Expression * v8::internal::ForStatement::cond ( ) const
inline

Definition at line 515 of file ast.h.

Here is the caller graph for this function:

◆ init()

Statement * v8::internal::ForStatement::init ( ) const
inline

Definition at line 514 of file ast.h.

Here is the caller graph for this function:

◆ Initialize()

void v8::internal::ForStatement::Initialize ( Statement * init,
Expression * cond,
Statement * next,
Statement * body )
inline

Definition at line 506 of file ast.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ next()

Statement * v8::internal::ForStatement::next ( ) const
inline

Definition at line 516 of file ast.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 519 of file ast.h.

Member Data Documentation

◆ cond_

Expression* v8::internal::ForStatement::cond_
private

Definition at line 529 of file ast.h.

◆ init_

Statement* v8::internal::ForStatement::init_
private

Definition at line 528 of file ast.h.

◆ next_

Statement* v8::internal::ForStatement::next_
private

Definition at line 530 of file ast.h.

◆ Zone

friend v8::internal::ForStatement::Zone
private

Definition at line 520 of file ast.h.


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