Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
expression07_grammar.hpp
Go to the documentation of this file.
1 #ifndef STAN__GM__PARSER__EXPRESSION_GRAMMAR07__HPP__
2 #define STAN__GM__PARSER__EXPRESSION_GRAMMAR07__HPP__
3 
4 #include <string>
5 #include <sstream>
6 #include <vector>
7 
8 #include <boost/spirit/include/qi.hpp>
9 
10 #include <stan/gm/ast.hpp>
14 
15 namespace stan {
16 
17  namespace gm {
18 
19  template <typename Iterator>
20  struct term_grammar;
21 
22  template <typename Iterator>
24 
25  template <typename Iterator>
27  : public boost::spirit::qi::grammar<Iterator,
28  expression(var_origin),
29  whitespace_grammar<Iterator> > {
30 
32  std::stringstream& error_msgs,
34 
36 
37  std::stringstream& error_msgs_;
38 
40 
41 
42  boost::spirit::qi::rule<Iterator,
46 
47  };
48 
49  }
50 }
51 
52 #endif
expression07_grammar(variable_map &var_map, std::stringstream &error_msgs, expression_grammar< Iterator > &eg)
boost::spirit::qi::rule< Iterator, expression(var_origin), whitespace_grammar< Iterator > > expression07_r
int var_origin
Definition: ast.hpp:411

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