1 #ifndef STAN_LANG_AST_NODE_PROGRAM_DEF_HPP 2 #define STAN_LANG_AST_NODE_PROGRAM_DEF_HPP 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::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.
std::vector< var_decl > parameter_decl_
Parameters block.