1 #ifndef STAN_LANG_AST_NODE_PROGRAM_HPP 2 #define STAN_LANG_AST_NODE_PROGRAM_HPP 54 program(
const function_decls_t& functions,
55 const var_decls_t& data,
56 const var_decls_statements_t& transformed_data,
57 const var_decls_t& parameters,
58 const var_decls_statements_t& transformed_parameters,
60 const var_decls_statements_t& generated_quantities);
75 std::pair<std::vector<var_decl>, std::vector<statement> >
86 std::pair<std::vector<var_decl>, std::vector<statement> >
derived_decl_;
Structure to wrap the variant type of statements.
statement statement_
Model block.
Probability, optimization and sampling library.
std::vector< var_decl > data_decl_
Data block.
std::vector< function_decl_def > function_decls_t
Type of a sequence of function declarations.
program()
Construct an uninitialized program.
std::vector< function_decl_def > function_decl_defs_
Functions block.
std::pair< std::vector< var_decl >, std::vector< statement > > derived_data_decl_
Transformed data block.
std::pair< std::vector< var_decl >, std::vector< statement > > generated_decl_
Generated quantities block.
std::vector< statement > statements_t
Type of a sequence of statements.
std::pair< var_decls_t, statements_t > var_decls_statements_t
Type of pair of variable declaration sequence and statement sequence.
std::pair< std::vector< var_decl >, std::vector< statement > > derived_decl_
Transformed parameters block.
std::vector< var_decl > var_decls_t
Type of a sequence of variable declarations.
AST node for a complete Stan program.
std::vector< var_decl > parameter_decl_
Parameters block.