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

#include <ast.h>

Inheritance diagram for v8::internal::torque::ForLoopStatement:
Collaboration diagram for v8::internal::torque::ForLoopStatement:

Public Member Functions

 ForLoopStatement (SourcePosition pos, std::optional< Statement * > declaration, std::optional< Expression * > test, std::optional< Statement * > action, Statement *body)
 
- Public Member Functions inherited from v8::internal::torque::Statement
 Statement (Kind kind, SourcePosition pos)
 
- Public Member Functions inherited from v8::internal::torque::AstNode
 AstNode (Kind kind, SourcePosition pos)
 
virtual ~AstNode ()=default
 

Public Attributes

std::optional< VarDeclarationStatement * > var_declaration
 
std::optional< Expression * > test
 
std::optional< Statement * > action
 
Statementbody
 
- Public Attributes inherited from v8::internal::torque::AstNode
const Kind kind
 
SourcePosition pos
 

Additional Inherited Members

- Public Types inherited from v8::internal::torque::AstNode
enum class  Kind { ENUM_ITEM }
 

Detailed Description

Definition at line 796 of file ast.h.

Constructor & Destructor Documentation

◆ ForLoopStatement()

v8::internal::torque::ForLoopStatement::ForLoopStatement ( SourcePosition pos,
std::optional< Statement * > declaration,
std::optional< Expression * > test,
std::optional< Statement * > action,
Statement * body )
inline

Definition at line 798 of file ast.h.

Member Data Documentation

◆ action

std::optional<Statement*> v8::internal::torque::ForLoopStatement::action

Definition at line 811 of file ast.h.

◆ body

Statement* v8::internal::torque::ForLoopStatement::body

Definition at line 812 of file ast.h.

◆ test

std::optional<Expression*> v8::internal::torque::ForLoopStatement::test

Definition at line 810 of file ast.h.

◆ var_declaration

std::optional<VarDeclarationStatement*> v8::internal::torque::ForLoopStatement::var_declaration

Definition at line 809 of file ast.h.


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