Stan  2.14.0
probability, sampling & optimization
Namespaces | Functions
returns_type_def.hpp File Reference
#include <stan/lang/ast/expr_type.hpp>
#include <stan/lang/ast/fun/returns_type.hpp>
#include <stan/lang/ast/fun/returns_type_vis.hpp>
#include <stan/lang/ast/node/statement.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <ostream>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::lang
 

Functions

bool stan::lang::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 type, otherwise return false and write an error message to the specified error stream. More...
 

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