![]() |
Stan
2.14.0
probability, sampling & optimization
|
Holder for local variable declarations and a sequence of statements. More...
#include <statements.hpp>
Public Member Functions | |
statements () | |
Nullary constructor for statements. More... | |
statements (const std::vector< var_decl > &local_decl, const std::vector< statement > &stmts) | |
Construct a statements object from a sequence of local declarations and sequence of statements. More... | |
Public Attributes | |
std::vector< var_decl > | local_decl_ |
Sequence of variable declarations. More... | |
std::vector< statement > | statements_ |
Sequence of statements. More... | |
Holder for local variable declarations and a sequence of statements.
Definition at line 16 of file statements.hpp.
stan::lang::statements::statements | ( | ) |
Nullary constructor for statements.
Definition at line 10 of file statements_def.hpp.
stan::lang::statements::statements | ( | const std::vector< var_decl > & | local_decl, |
const std::vector< statement > & | stmts | ||
) |
Construct a statements object from a sequence of local declarations and sequence of statements.
local_decl | sequence of local variable declarations |
stmts | sequence of statements |
Definition at line 12 of file statements_def.hpp.
std::vector<var_decl> stan::lang::statements::local_decl_ |
Sequence of variable declarations.
Definition at line 20 of file statements.hpp.
std::vector<statement> stan::lang::statements::statements_ |
Sequence of statements.
Definition at line 25 of file statements.hpp.