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

#include <ast.h>

Inheritance diagram for v8::internal::WhileStatement:
Collaboration diagram for v8::internal::WhileStatement:

Public Member Functions

void Initialize (Expression *cond, Statement *body)
 
Expressioncond () 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

 WhileStatement (int pos)
 

Private Attributes

friend Zone
 
Expressioncond_
 

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 484 of file ast.h.

Constructor & Destructor Documentation

◆ WhileStatement()

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

Definition at line 497 of file ast.h.

Member Function Documentation

◆ cond()

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

Definition at line 491 of file ast.h.

Here is the caller graph for this function:

◆ Initialize()

void v8::internal::WhileStatement::Initialize ( Expression * cond,
Statement * body )
inline

Definition at line 486 of file ast.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 494 of file ast.h.

Member Data Documentation

◆ cond_

Expression* v8::internal::WhileStatement::cond_
private

Definition at line 500 of file ast.h.

◆ Zone

friend v8::internal::WhileStatement::Zone
private

Definition at line 495 of file ast.h.


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