Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
stan::gm::statement_grammar< Iterator > Struct Template Reference

#include <statement_2_grammar.hpp>

Inheritance diagram for stan::gm::statement_grammar< Iterator >:

Public Member Functions

 statement_grammar (variable_map &var_map, std::stringstream &error_msgs)
 

Public Attributes

variable_mapvar_map_
 
std::stringstream & error_msgs_
 
expression_grammar< Iterator > expression_g
 
var_decls_grammar< Iterator > var_decls_g
 
statement_2_grammar< Iterator > statement_2_g
 
boost::spirit::qi::rule
< Iterator, assignment(var_origin),
whitespace_grammar< Iterator > > 
assignment_r
 
boost::spirit::qi::rule
< Iterator, expression(var_origin),
whitespace_grammar< Iterator > > 
non_lvalue_assign_r
 
boost::spirit::qi::rule
< Iterator, std::vector
< expression >var_origin),
whitespace_grammar< Iterator > > 
dims_r
 
boost::spirit::qi::rule
< Iterator, distribution(var_origin),
whitespace_grammar< Iterator > > 
distribution_r
 
boost::spirit::qi::rule
< Iterator,
increment_log_prob_statement(bool,
var_origin),
whitespace_grammar< Iterator > > 
increment_log_prob_statement_r
 
boost::spirit::qi::rule
< Iterator,
boost::spirit::qi::locals
< std::string >, for_statement(bool,
var_origin, bool),
whitespace_grammar< Iterator > > 
for_statement_r
 
boost::spirit::qi::rule
< Iterator, while_statement(bool,
var_origin, bool),
whitespace_grammar< Iterator > > 
while_statement_r
 
boost::spirit::qi::rule
< Iterator, print_statement(var_origin),
whitespace_grammar< Iterator > > 
print_statement_r
 
boost::spirit::qi::rule
< Iterator, reject_statement(var_origin),
whitespace_grammar< Iterator > > 
reject_statement_r
 
boost::spirit::qi::rule
< Iterator, return_statement(var_origin),
whitespace_grammar< Iterator > > 
return_statement_r
 
boost::spirit::qi::rule
< Iterator, return_statement(var_origin),
whitespace_grammar< Iterator > > 
void_return_statement_r
 
boost::spirit::qi::rule
< Iterator, printable(var_origin),
whitespace_grammar< Iterator > > 
printable_r
 
boost::spirit::qi::rule
< Iterator, std::string(),
whitespace_grammar< Iterator > > 
printable_string_r
 
boost::spirit::qi::rule
< Iterator, std::string(),
whitespace_grammar< Iterator > > 
identifier_r
 
boost::spirit::qi::rule
< Iterator, std::vector
< var_decl >
), whitespace_grammar
< Iterator > > 
local_var_decls_r
 
boost::spirit::qi::rule
< Iterator, no_op_statement(),
whitespace_grammar< Iterator > > 
no_op_statement_r
 
boost::spirit::qi::rule
< Iterator, std::vector
< expression >var_origin),
whitespace_grammar< Iterator > > 
opt_dims_r
 
boost::spirit::qi::rule
< Iterator, range(var_origin),
whitespace_grammar< Iterator > > 
range_r
 
boost::spirit::qi::rule
< Iterator, sample(bool,
var_origin),
whitespace_grammar< Iterator > > 
sample_r
 
boost::spirit::qi::rule
< Iterator, statement(bool,
var_origin, bool),
whitespace_grammar< Iterator > > 
statement_r
 
boost::spirit::qi::rule
< Iterator,
boost::spirit::qi::locals
< std::vector< var_decl >
>, statements(bool,
var_origin, bool),
whitespace_grammar< Iterator > > 
statement_seq_r
 
boost::spirit::qi::rule
< Iterator, range(var_origin),
whitespace_grammar< Iterator > > 
truncation_range_r
 
boost::spirit::qi::rule
< Iterator, variable_dims(var_origin),
whitespace_grammar< Iterator > > 
var_lhs_r
 

Detailed Description

template<typename Iterator>
struct stan::gm::statement_grammar< Iterator >

Definition at line 19 of file statement_2_grammar.hpp.

Constructor & Destructor Documentation

template<typename Iterator >
stan::gm::statement_grammar< Iterator >::statement_grammar ( variable_map var_map,
std::stringstream &  error_msgs 
)

Definition at line 527 of file statement_grammar_def.hpp.

Member Data Documentation

template<typename Iterator>
boost::spirit::qi::rule<Iterator, assignment(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::assignment_r

Definition at line 45 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, std::vector<expression>var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::dims_r

Definition at line 56 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, distribution(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::distribution_r

Definition at line 62 of file statement_grammar.hpp.

template<typename Iterator>
std::stringstream& stan::gm::statement_grammar< Iterator >::error_msgs_

Definition at line 34 of file statement_grammar.hpp.

template<typename Iterator>
expression_grammar<Iterator> stan::gm::statement_grammar< Iterator >::expression_g

Definition at line 37 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, boost::spirit::qi::locals<std::string>, for_statement(bool,var_origin,bool), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::for_statement_r

Definition at line 74 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, std::string(), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::identifier_r

Definition at line 121 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, increment_log_prob_statement(bool,var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::increment_log_prob_statement_r

Definition at line 68 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, std::vector<var_decl>), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::local_var_decls_r

Definition at line 126 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, no_op_statement(), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::no_op_statement_r

Definition at line 131 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, expression(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::non_lvalue_assign_r

Definition at line 50 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, std::vector<expression>var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::opt_dims_r

Definition at line 136 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, print_statement(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::print_statement_r

Definition at line 86 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, printable(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::printable_r

Definition at line 110 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, std::string(), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::printable_string_r

Definition at line 115 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, range(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::range_r

Definition at line 141 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, reject_statement(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::reject_statement_r

Definition at line 91 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, return_statement(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::return_statement_r

Definition at line 97 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, sample(bool,var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::sample_r

Definition at line 146 of file statement_grammar.hpp.

template<typename Iterator>
statement_2_grammar<Iterator> stan::gm::statement_grammar< Iterator >::statement_2_g

Definition at line 39 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, statement(bool,var_origin,bool), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::statement_r

Definition at line 151 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, boost::spirit::qi::locals<std::vector<var_decl> >, statements(bool,var_origin,bool), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::statement_seq_r

Definition at line 157 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, range(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::truncation_range_r

Definition at line 162 of file statement_grammar.hpp.

template<typename Iterator>
var_decls_grammar<Iterator> stan::gm::statement_grammar< Iterator >::var_decls_g

Definition at line 38 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, variable_dims(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::var_lhs_r

Definition at line 167 of file statement_grammar.hpp.

template<typename Iterator>
variable_map& stan::gm::statement_grammar< Iterator >::var_map_

Definition at line 33 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, return_statement(var_origin), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::void_return_statement_r

Definition at line 102 of file statement_grammar.hpp.

template<typename Iterator>
boost::spirit::qi::rule<Iterator, while_statement(bool,var_origin,bool), whitespace_grammar<Iterator> > stan::gm::statement_grammar< Iterator >::while_statement_r

Definition at line 80 of file statement_grammar.hpp.


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

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