Stan  2.14.0
probability, sampling & optimization
while_statement.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_WHILE_STATEMENT_HPP
2 #define STAN_LANG_AST_NODE_WHILE_STATEMENT_HPP
3 
6 
7 
8 namespace stan {
9  namespace lang {
10 
14  struct while_statement {
20 
28  while_statement(const expression& condition, const statement& body);
29 
34 
39  };
40 
41  }
42 }
43 #endif
Structure to wrap the variant type of statements.
Definition: statement.hpp:29
Probability, optimization and sampling library.
AST node for representing while statements.
while_statement()
Construct an unitialized while statement with nil condition and body.
statement body_
The loop body.
expression condition_
The loop condition.

     [ Stan Home Page ] © 2011–2016, Stan Development Team.