1 #ifndef STAN_LANG_GRAMMARS_BARE_TYPE_GRAMMAR_HPP 2 #define STAN_LANG_GRAMMARS_BARE_TYPE_GRAMMAR_HPP 4 #include <boost/spirit/include/qi.hpp> 17 template <
typename Iterator>
19 : boost::spirit::qi::grammar<Iterator,
21 whitespace_grammar<Iterator> > {
26 std::stringstream& error_msgs);
28 boost::spirit::qi::rule<Iterator,
33 boost::spirit::qi::rule<Iterator,
38 boost::spirit::qi::rule<Iterator,
43 boost::spirit::qi::rule<Iterator,
44 boost::spirit::qi::unused_type,
Probability, optimization and sampling library.
boost::spirit::qi::rule< Iterator, size_t(), whitespace_grammar< Iterator > > array_dims_r
int base_expr_type
The type of a base expression.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
A map from function names to their base declarations and their origin.
boost::spirit::qi::rule< Iterator, expr_type(), whitespace_grammar< Iterator > > bare_type_r
bare_type_grammar(variable_map &var_map, std::stringstream &error_msgs)
boost::spirit::qi::rule< Iterator, boost::spirit::qi::unused_type, whitespace_grammar< Iterator > > end_bare_types_r
boost::spirit::qi::rule< Iterator, base_expr_type(), whitespace_grammar< Iterator > > type_identifier_r
std::stringstream & error_msgs_