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

#include <ast.h>

Inheritance diagram for v8::internal::ForEachStatement:
Collaboration diagram for v8::internal::ForEachStatement:

Public Types

enum  VisitMode { ENUMERATE , ITERATE }
 
- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t
 

Public Member Functions

void Initialize (Expression *each, Expression *subject, Statement *body, Scope *subject_scope)
 
Expressioneach () const
 
Expressionsubject () const
 
Scopesubject_scope () const
 
void Initialize (Statement *body)
 
- 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
 

Static Public Member Functions

static const char * VisitModeString (VisitMode mode)
 

Protected Member Functions

 ForEachStatement (int pos, NodeType type)
 
- 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

friend Zone
 
Expressioneach_
 
Expressionsubject_
 
Scopesubject_scope_
 
- Protected Attributes inherited from v8::internal::AstNode
uint32_t bit_field_
 

Friends

class AstNodeFactory
 

Additional Inherited Members

- Protected Types inherited from v8::internal::AstNode
template<class T , int size>
using NextBitField = NodeTypeField::Next<T, size>
 

Detailed Description

Definition at line 534 of file ast.h.

Member Enumeration Documentation

◆ VisitMode

Enumerator
ENUMERATE 
ITERATE 

Definition at line 536 of file ast.h.

Constructor & Destructor Documentation

◆ ForEachStatement()

v8::internal::ForEachStatement::ForEachStatement ( int pos,
NodeType type )
inlineprotected

Definition at line 567 of file ast.h.

Member Function Documentation

◆ each()

Expression * v8::internal::ForEachStatement::each ( ) const
inline

Definition at line 555 of file ast.h.

Here is the caller graph for this function:

◆ Initialize() [1/2]

void v8::internal::ForEachStatement::Initialize ( Expression * each,
Expression * subject,
Statement * body,
Scope * subject_scope )
inline

Definition at line 547 of file ast.h.

Here is the call graph for this function:

◆ Initialize() [2/2]

void v8::internal::IterationStatement::Initialize ( Statement * body)
inline

Definition at line 457 of file ast.h.

◆ subject()

Expression * v8::internal::ForEachStatement::subject ( ) const
inline

Definition at line 556 of file ast.h.

Here is the caller graph for this function:

◆ subject_scope()

Scope * v8::internal::ForEachStatement::subject_scope ( ) const
inline

Definition at line 561 of file ast.h.

Here is the caller graph for this function:

◆ VisitModeString()

static const char * v8::internal::ForEachStatement::VisitModeString ( VisitMode mode)
inlinestatic

Definition at line 543 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 564 of file ast.h.

Member Data Documentation

◆ each_

Expression* v8::internal::ForEachStatement::each_
protected

Definition at line 573 of file ast.h.

◆ subject_

Expression* v8::internal::ForEachStatement::subject_
protected

Definition at line 574 of file ast.h.

◆ subject_scope_

Scope* v8::internal::ForEachStatement::subject_scope_
protected

Definition at line 575 of file ast.h.

◆ Zone

friend v8::internal::ForEachStatement::Zone
protected

Definition at line 565 of file ast.h.


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