topazc
AST::DoWhileCycleStmt Class Reference

Statement of do-while cycle. More...

#include <ast.hpp>

Inheritance diagram for AST::DoWhileCycleStmt:
Collaboration diagram for AST::DoWhileCycleStmt:

Public Member Functions

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

Public Attributes

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

Detailed Description

Statement of do-while cycle.

Definition at line 375 of file ast.hpp.

Constructor & Destructor Documentation

◆ DoWhileCycleStmt()

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

Definition at line 380 of file ast.hpp.

Here is the call graph for this function:

◆ ~DoWhileCycleStmt()

AST::DoWhileCycleStmt::~DoWhileCycleStmt ( )
overridedefault

Member Data Documentation

◆ block

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

Body of cycle

Definition at line 378 of file ast.hpp.

◆ cond

ExprPtr AST::DoWhileCycleStmt::cond

Condition

Definition at line 377 of file ast.hpp.


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