Stan  2.14.0
probability, sampling & optimization
returns_type.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_FUN_RETURNS_TYPE_HPP
2 #define STAN_LANG_AST_FUN_RETURNS_TYPE_HPP
3 
6 #include <ostream>
7 
8 namespace stan {
9  namespace lang {
10 
23  bool returns_type(const expr_type& return_type,
24  const statement& statement,
25  std::ostream& error_msgs);
26 
27  }
28 }
29 #endif
Probability, optimization and sampling library.
bool returns_type(const expr_type &return_type, const statement &statement, std::ostream &error_msgs)
Return true if the specified statement is a return statement returning an expression of the specified...

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