Stan  2.14.0
probability, sampling & optimization
statements.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_STATEMENTS_HPP
2 #define STAN_LANG_AST_NODE_STATEMENTS_HPP
3 
4 #include <vector>
5 
6 namespace stan {
7  namespace lang {
8 
9  struct var_decl;
10  struct statement;
11 
16  struct statements {
20  std::vector<var_decl> local_decl_;
21 
25  std::vector<statement> statements_;
26 
30  statements();
31 
39  statements(const std::vector<var_decl>& local_decl,
40  const std::vector<statement>& stmts);
41  };
42 
43  }
44 }
45 #endif
Holder for local variable declarations and a sequence of statements.
Definition: statements.hpp:16
std::vector< statement > statements_
Sequence of statements.
Definition: statements.hpp:25
statements()
Nullary constructor for statements.
Probability, optimization and sampling library.
std::vector< var_decl > local_decl_
Sequence of variable declarations.
Definition: statements.hpp:20

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