Stan  2.10.0
probability, sampling & optimization
expression_grammar.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_GRAMMARS_EXPRESSION_GRAMMAR_HPP
2 #define STAN_LANG_GRAMMARS_EXPRESSION_GRAMMAR_HPP
3 
4 #include <stan/lang/ast.hpp>
8 #include <boost/spirit/include/qi.hpp>
9 #include <sstream>
10 
11 namespace stan {
12 
13  namespace lang {
14 
15  template <typename Iterator>
16  struct expression07_grammar;
17 
18  template <typename Iterator>
19  struct expression_grammar
20  : public boost::spirit::qi::grammar<Iterator,
21  expression(var_origin),
22  whitespace_grammar<Iterator> > {
24  std::stringstream& error_msgs_;
26 
28  std::stringstream& error_msgs);
29 
30  boost::spirit::qi::rule<Iterator,
34 
35  boost::spirit::qi::rule<Iterator,
39 
40  boost::spirit::qi::rule<Iterator,
44 
45  boost::spirit::qi::rule<Iterator,
49 
50  boost::spirit::qi::rule<Iterator,
54 
55  boost::spirit::qi::rule<Iterator,
56  boost::spirit::qi::locals<stan::lang::expression,
57  stan::lang::expression,
58  stan::lang::expression>,
62  };
63 
64  }
65 }
66 #endif
expression07_grammar< Iterator > expression07_g
Probability, optimization and sampling library.
boost::spirit::qi::rule< Iterator, expression(var_origin), whitespace_grammar< Iterator > > expression_r
boost::spirit::qi::rule< Iterator, expression(var_origin), whitespace_grammar< Iterator > > expression09_r
boost::spirit::qi::rule< Iterator, expression(var_origin), whitespace_grammar< Iterator > > expression15_r
int var_origin
Definition: ast.hpp:76
boost::spirit::qi::rule< Iterator, expression(var_origin), whitespace_grammar< Iterator > > expression14_r
boost::spirit::qi::rule< Iterator, expression(var_origin), whitespace_grammar< Iterator > > expression10_r
expression_grammar(variable_map &var_map, std::stringstream &error_msgs)
boost::spirit::qi::rule< Iterator, boost::spirit::qi::locals< stan::lang::expression, stan::lang::expression, stan::lang::expression >, conditional_op(var_origin), whitespace_grammar< Iterator > > conditional_op_r

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