![]() |
Stan
2.14.0
probability, sampling & optimization
|
AST node for representing while statements. More...
#include <while_statement.hpp>
Public Member Functions | |
| while_statement () | |
| Construct an unitialized while statement with nil condition and body. More... | |
| while_statement (const expression &condition, const statement &body) | |
| Construct a while statement with the specified loop condition and loop body. More... | |
Public Attributes | |
| expression | condition_ |
| The loop condition. More... | |
| statement | body_ |
| The loop body. More... | |
AST node for representing while statements.
Definition at line 14 of file while_statement.hpp.
| stan::lang::while_statement::while_statement | ( | ) |
Construct an unitialized while statement with nil condition and body.
Definition at line 9 of file while_statement_def.hpp.
| stan::lang::while_statement::while_statement | ( | const expression & | condition, |
| const statement & | body | ||
| ) |
Construct a while statement with the specified loop condition and loop body.
| [in] | condition | loop condition |
| [in] | body | loop body |
Definition at line 11 of file while_statement_def.hpp.
| statement stan::lang::while_statement::body_ |
The loop body.
Definition at line 38 of file while_statement.hpp.
| expression stan::lang::while_statement::condition_ |
The loop condition.
Definition at line 33 of file while_statement.hpp.