![]() |
Stan
2.14.0
probability, sampling & optimization
|
AST node for the return statement. More...
#include <return_statement.hpp>
Public Member Functions | |
return_statement () | |
Construct a return statement with a nil return value. More... | |
return_statement (const expression &expr) | |
Construct a return statement with the specified return value. More... | |
Public Attributes | |
expression | return_value_ |
The value returned. More... | |
AST node for the return statement.
Definition at line 12 of file return_statement.hpp.
stan::lang::return_statement::return_statement | ( | ) |
Construct a return statement with a nil return value.
Definition at line 9 of file return_statement_def.hpp.
stan::lang::return_statement::return_statement | ( | const expression & | expr | ) |
Construct a return statement with the specified return value.
[in] | expr | return value |
Definition at line 11 of file return_statement_def.hpp.
expression stan::lang::return_statement::return_value_ |
The value returned.
Definition at line 28 of file return_statement.hpp.