![]() |
Stan
2.14.0
probability, sampling & optimization
|
AST node for the type delclaration for function arguments. More...
#include <arg_decl.hpp>
Public Member Functions | |
arg_decl () | |
Construct an uninitialized argument declaration. More... | |
arg_decl (const expr_type &arg_type, const std::string &name) | |
Construct an argument declaration with the specified type and variable name. More... | |
base_var_decl | base_variable_declaration () const |
Return the base declaration corresponding to this argument declaration. More... | |
Public Attributes | |
expr_type | arg_type_ |
Type of the argument variable. More... | |
std::string | name_ |
Name of the argument variable. More... | |
AST node for the type delclaration for function arguments.
Definition at line 14 of file arg_decl.hpp.
stan::lang::arg_decl::arg_decl | ( | ) |
Construct an uninitialized argument declaration.
Definition at line 11 of file arg_decl_def.hpp.
stan::lang::arg_decl::arg_decl | ( | const expr_type & | arg_type, |
const std::string & | name | ||
) |
Construct an argument declaration with the specified type and variable name.
arg_type | argument variable type |
name | argument variable name |
Definition at line 13 of file arg_decl_def.hpp.
base_var_decl stan::lang::arg_decl::base_variable_declaration | ( | ) | const |
Return the base declaration corresponding to this argument declaration.
Definition at line 16 of file arg_decl_def.hpp.
expr_type stan::lang::arg_decl::arg_type_ |
Type of the argument variable.
Definition at line 40 of file arg_decl.hpp.
std::string stan::lang::arg_decl::name_ |
Name of the argument variable.
Definition at line 45 of file arg_decl.hpp.