Stan  2.14.0
probability, sampling & optimization
var_origin.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_VAR_ORIGIN_HPP
2 #define STAN_LANG_AST_VAR_ORIGIN_HPP
3 
4 namespace stan {
5  namespace lang {
6 
12  typedef int var_origin;
13 
17  const int model_name_origin = 0;
18 
22  const int data_origin = 1;
23 
27  const int transformed_data_origin = 2;
28 
32  const int parameter_origin = 3;
33 
38 
42  const int derived_origin = 5;
43 
47  const int local_origin = 6;
48 
53  const int function_argument_origin = 7;
54 
60 
66 
72 
78 
84 
85  }
86 }
87 #endif
const int function_argument_origin
The variable arose as a function argument to a non-void function that does not end in _lp or _rng...
Definition: var_origin.hpp:53
const int derived_origin
The origin of the variable is ???.
Definition: var_origin.hpp:42
const int parameter_origin
The origin of the variable is the parameter block.
Definition: var_origin.hpp:32
const int function_argument_origin_rng
The variable arose as an argument to a non-void function with the _rng suffix.
Definition: var_origin.hpp:65
Probability, optimization and sampling library.
const int transformed_parameter_origin
The origin of the variable is the transformed parameter block.
Definition: var_origin.hpp:37
const int function_argument_origin_lp
The variable arose as an argument to a non-void function with the _lp suffix.
Definition: var_origin.hpp:59
const int void_function_argument_origin_rng
The variable arose as an argument to a function returning void with an _rng suffix.
Definition: var_origin.hpp:83
const int model_name_origin
Origin of variable is the name of the model.
Definition: var_origin.hpp:17
int var_origin
The type of a variable indicating where a variable was declared.
Definition: var_origin.hpp:12
const int void_function_argument_origin
The variable arose as an argument to a function returning void that does not have the _lp or _rng suf...
Definition: var_origin.hpp:71
const int data_origin
The origin of the variable is the data block.
Definition: var_origin.hpp:22
const int void_function_argument_origin_lp
The variable arose as an argument to a function returning void with _lp suffix.
Definition: var_origin.hpp:77
const int local_origin
The origin of the variable is as a local variable.
Definition: var_origin.hpp:47
const int transformed_data_origin
The origin of the variable is the transformed data block.
Definition: var_origin.hpp:27

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