topazc
AST::ForCycleStmt Class Reference

Statement of for cycle. More...

#include <ast.hpp>

Inheritance diagram for AST::ForCycleStmt:
Collaboration diagram for AST::ForCycleStmt:

Public Member Functions

 ForCycleStmt (StmtPtr ix, ExprPtr c, StmtPtr it, std::vector< StmtPtr > b, uint32_t l)
 ~ForCycleStmt () override=default
Public Member Functions inherited from AST::Stmt
 Stmt (uint32_t l)
virtual ~Stmt ()=default

Public Attributes

StmtPtr indexator
ExprPtr cond
StmtPtr iteration
std::vector< StmtPtrblock
Public Attributes inherited from AST::Stmt
uint32_t line

Detailed Description

Statement of for cycle.

Definition at line 387 of file ast.hpp.

Constructor & Destructor Documentation

◆ ForCycleStmt()

AST::ForCycleStmt::ForCycleStmt ( StmtPtr ix,
ExprPtr c,
StmtPtr it,
std::vector< StmtPtr > b,
uint32_t l )
inline

Definition at line 394 of file ast.hpp.

Here is the call graph for this function:

◆ ~ForCycleStmt()

AST::ForCycleStmt::~ForCycleStmt ( )
overridedefault

Member Data Documentation

◆ block

std::vector<StmtPtr> AST::ForCycleStmt::block

Body of cycle

Definition at line 392 of file ast.hpp.

◆ cond

ExprPtr AST::ForCycleStmt::cond

Condition

Definition at line 390 of file ast.hpp.

◆ indexator

StmtPtr AST::ForCycleStmt::indexator

Indexator variable

Definition at line 389 of file ast.hpp.

◆ iteration

StmtPtr AST::ForCycleStmt::iteration

Iteration statement after each iterations

Definition at line 391 of file ast.hpp.


The documentation for this class was generated from the following file:
  • /mnt/disk_ext4_0/topazlang/include/parser/ast.hpp