#include <stmt.hpp>
Definition at line 160 of file stmt.hpp.
◆ While()
While::While |
( |
const std::shared_ptr< Expr > & |
condition, |
|
|
const std::shared_ptr< Stmt > & |
body |
|
) |
| |
|
inline |
Definition at line 166 of file stmt.hpp.
const std::shared_ptr< Stmt > body
const std::shared_ptr< Expr > condition
◆ accept()
Implements Stmt.
Definition at line 170 of file stmt.hpp.
170 {
172 }
virtual std::any visitWhileStmt(std::shared_ptr< While > stmt)=0
◆ getBody()
std::shared_ptr< Stmt > While::getBody |
( |
| ) |
const |
|
inline |
◆ getCondition()
std::shared_ptr< Expr > While::getCondition |
( |
| ) |
const |
|
inline |
◆ body
const std::shared_ptr<Stmt> While::body |
|
private |
◆ condition
const std::shared_ptr<Expr> While::condition |
|
private |
The documentation for this class was generated from the following file: