Stan
2.14.0
probability, sampling & optimization
src
stan
lang
ast
fun
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
4
#include <
stan/lang/ast/expr_type.hpp
>
5
#include <
stan/lang/ast/node/statement.hpp
>
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
expr_type.hpp
stan
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
statement.hpp
stan::lang::returns_type
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...
Definition:
returns_type_def.hpp:14
[
Stan Home Page
]
© 2011–2016, Stan Development Team.