Stan
2.14.0
probability, sampling & optimization
src
stan
lang
ast
node
return_statement_def.hpp
Go to the documentation of this file.
1
#ifndef STAN_LANG_AST_NODE_RETURN_STATEMENT_DEF_HPP
2
#define STAN_LANG_AST_NODE_RETURN_STATEMENT_DEF_HPP
3
4
#include <
stan/lang/ast.hpp
>
5
6
namespace
stan
{
7
namespace
lang {
8
9
return_statement::return_statement
() { }
10
11
return_statement::return_statement
(
const
expression
& expr)
12
:
return_value_
(expr) { }
13
14
}
15
}
16
#endif
stan::lang::return_statement::return_statement
return_statement()
Construct a return statement with a nil return value.
Definition:
return_statement_def.hpp:9
stan
Probability, optimization and sampling library.
Definition:
base_interrupt.hpp:4
stan::lang::expression
Definition:
expression.hpp:41
stan::lang::return_statement::return_value_
expression return_value_
The value returned.
Definition:
return_statement.hpp:28
ast.hpp
[
Stan Home Page
]
© 2011–2016, Stan Development Team.