Stan  2.14.0
probability, sampling & optimization
Public Member Functions | Public Attributes | List of all members
stan::lang::statements Struct Reference

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_decllocal_decl_
 Sequence of variable declarations. More...
 
std::vector< statementstatements_
 Sequence of statements. More...
 

Detailed Description

Holder for local variable declarations and a sequence of statements.

Definition at line 16 of file statements.hpp.

Constructor & Destructor Documentation

§ statements() [1/2]

stan::lang::statements::statements ( )

Nullary constructor for statements.

Definition at line 10 of file statements_def.hpp.

§ statements() [2/2]

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.

Parameters
local_declsequence of local variable declarations
stmtssequence of statements

Definition at line 12 of file statements_def.hpp.

Member Data Documentation

§ local_decl_

std::vector<var_decl> stan::lang::statements::local_decl_

Sequence of variable declarations.

Definition at line 20 of file statements.hpp.

§ statements_

std::vector<statement> stan::lang::statements::statements_

Sequence of statements.

Definition at line 25 of file statements.hpp.


The documentation for this struct was generated from the following files:

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