topazc
AST::WhileCycleStmt Class Reference

Statement of while cycle. More...

#include <ast.hpp>

Inheritance diagram for AST::WhileCycleStmt:
Collaboration diagram for AST::WhileCycleStmt:

Public Member Functions

 WhileCycleStmt (ExprPtr c, std::vector< StmtPtr > b, uint32_t l)
 ~WhileCycleStmt () 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 while cycle.

Definition at line 363 of file ast.hpp.

Constructor & Destructor Documentation

◆ WhileCycleStmt()

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

Definition at line 368 of file ast.hpp.

Here is the call graph for this function:

◆ ~WhileCycleStmt()

AST::WhileCycleStmt::~WhileCycleStmt ( )
overridedefault

Member Data Documentation

◆ block

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

Body of cycle

Definition at line 366 of file ast.hpp.

◆ cond

ExprPtr AST::WhileCycleStmt::cond

Condition

Definition at line 365 of file ast.hpp.


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