Stan  2.14.0
probability, sampling & optimization
while_statement_def.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_WHILE_STATEMENT_DEF_HPP
2 #define STAN_LANG_AST_NODE_WHILE_STATEMENT_DEF_HPP
3 
4 #include <stan/lang/ast.hpp>
5 
6 namespace stan {
7  namespace lang {
8 
10 
12  const statement& body)
13  : condition_(condition), body_(body) { }
14 
15  }
16 }
17 #endif
Structure to wrap the variant type of statements.
Definition: statement.hpp:29
Probability, optimization and sampling library.
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.