Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
statement_grammar_def.hpp File Reference
#include <cstddef>
#include <iomanip>
#include <iostream>
#include <istream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <stdexcept>
#include <boost/spirit/include/qi.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/std_pair.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi_numeric.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_function.hpp>
#include <boost/spirit/include/phoenix_fusion.hpp>
#include <boost/spirit/include/phoenix_object.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/spirit/include/support_multi_pass.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/recursive_variant.hpp>
#include <boost/spirit/include/version.hpp>
#include <boost/spirit/include/support_line_pos_iterator.hpp>
#include <stan/gm/ast.hpp>
#include <stan/gm/grammars/whitespace_grammar.hpp>
#include <stan/gm/grammars/expression_grammar.hpp>
#include <stan/gm/grammars/var_decls_grammar.hpp>
#include <stan/gm/grammars/statement_grammar.hpp>
#include <stan/gm/grammars/common_adaptors_def.hpp>

Go to the source code of this file.

Classes

struct  stan::gm::validate_return_allowed
 
struct  stan::gm::validate_return_allowed::result< T1, T2, T3 >
 
struct  stan::gm::validate_void_return_allowed
 
struct  stan::gm::validate_void_return_allowed::result< T1, T2, T3 >
 
struct  stan::gm::validate_assignment
 
struct  stan::gm::validate_assignment::result< T1, T2, T3, T4 >
 
struct  stan::gm::validate_sample
 
struct  stan::gm::validate_sample::result< T1, T2, T3 >
 
struct  stan::gm::expression_as_statement
 
struct  stan::gm::expression_as_statement::result< T1, T2, T3 >
 
struct  stan::gm::unscope_locals
 
struct  stan::gm::unscope_locals::result< T1, T2 >
 
struct  stan::gm::add_while_condition
 
struct  stan::gm::add_while_condition::result< T1, T2, T3 >
 
struct  stan::gm::add_while_body
 
struct  stan::gm::add_while_body::result< T1, T2 >
 
struct  stan::gm::add_loop_identifier
 
struct  stan::gm::add_loop_identifier::result< T1, T2, T3, T4 >
 
struct  stan::gm::remove_loop_identifier
 
struct  stan::gm::remove_loop_identifier::result< T1, T2 >
 
struct  stan::gm::validate_int_expr2
 
struct  stan::gm::validate_int_expr2::result< T1, T2, T3 >
 
struct  stan::gm::validate_allow_sample
 
struct  stan::gm::validate_allow_sample::result< T1, T2, T3 >
 
struct  stan::gm::validate_non_void_expression
 
struct  stan::gm::validate_non_void_expression::result< T1, T2, T3 >
 

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::gm
 Directed graphical model compiler.
 

Functions

 BOOST_FUSION_ADAPT_STRUCT (stan::gm::assignment,(stan::gm::variable_dims, var_dims_)(stan::gm::expression, expr_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::variable_dims,(std::string, name_)(std::vector< stan::gm::expression >, dims_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::distribution,(std::string, family_)(std::vector< stan::gm::expression >, args_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::for_statement,(std::string, variable_)(stan::gm::range, range_)(stan::gm::statement, statement_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::return_statement,(stan::gm::expression, return_value_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::print_statement,(std::vector< stan::gm::printable >, printables_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::reject_statement,(std::vector< stan::gm::printable >, printables_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::increment_log_prob_statement,(stan::gm::expression, log_prob_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::sample,(stan::gm::expression, expr_)(stan::gm::distribution, dist_)(stan::gm::range, truncation_))
 
 BOOST_FUSION_ADAPT_STRUCT (stan::gm::statements,(std::vector< stan::gm::var_decl >, local_decl_)(std::vector< stan::gm::statement >, statements_))
 

Variables

boost::phoenix::function
< validate_return_allowed > 
stan::gm::validate_return_allowed_f
 
boost::phoenix::function
< validate_void_return_allowed > 
stan::gm::validate_void_return_allowed_f
 
boost::phoenix::function
< validate_assignment > 
stan::gm::validate_assignment_f
 
boost::phoenix::function
< validate_sample > 
stan::gm::validate_sample_f
 
boost::phoenix::function
< expression_as_statement > 
stan::gm::expression_as_statement_f
 
boost::phoenix::function
< unscope_locals > 
stan::gm::unscope_locals_f
 
boost::phoenix::function
< add_while_condition > 
stan::gm::add_while_condition_f
 
boost::phoenix::function
< add_while_body > 
stan::gm::add_while_body_f
 
boost::phoenix::function
< add_loop_identifier > 
stan::gm::add_loop_identifier_f
 
boost::phoenix::function
< remove_loop_identifier > 
stan::gm::remove_loop_identifier_f
 
boost::phoenix::function
< validate_int_expr2 > 
stan::gm::validate_int_expr2_f
 
boost::phoenix::function
< validate_allow_sample > 
stan::gm::validate_allow_sample_f
 
boost::phoenix::function
< validate_non_void_expression > 
stan::gm::validate_non_void_expression_f
 

Function Documentation

BOOST_FUSION_ADAPT_STRUCT ( stan::gm::assignment  ,
(stan::gm::variable_dims, var_dims_)(stan::gm::expression, expr_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::variable_dims  ,
(std::string, name_)(std::vector< stan::gm::expression >, dims_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::distribution  ,
(std::string, family_)(std::vector< stan::gm::expression >, args_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::for_statement  ,
(std::string, variable_)(stan::gm::range, range_)(stan::gm::statement, statement_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::return_statement  ,
(stan::gm::expression, return_value_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::print_statement  ,
(std::vector< stan::gm::printable >, printables_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::reject_statement  ,
(std::vector< stan::gm::printable >, printables_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::increment_log_prob_statement  ,
(stan::gm::expression, log_prob_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::sample  ,
(stan::gm::expression, expr_)(stan::gm::distribution, dist_)(stan::gm::range, truncation_)   
)
BOOST_FUSION_ADAPT_STRUCT ( stan::gm::statements  ,
(std::vector< stan::gm::var_decl >, local_decl_)(std::vector< stan::gm::statement >, statements_)   
)

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