Stan  2.14.0
probability, sampling & optimization
assignment.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_ASSIGNMENT_HPP
2 #define STAN_LANG_AST_NODE_ASSIGNMENT_HPP
3 
7 
8 namespace stan {
9  namespace lang {
10 
14  struct assignment {
18  assignment();
19 
26  assignment(variable_dims& var_dims, expression& expr);
27 
34 
40 
45  };
46 
47  }
48 }
49 #endif
variable_dims var_dims_
Variable plus indexes.
Definition: assignment.hpp:33
Structure for holding a variable with its dimension declarations.
Probability, optimization and sampling library.
assignment()
Construct an empty assignment.
base_var_decl var_type_
Type of the left hand side variable before indexing.
Definition: assignment.hpp:44
AST base class for variable declarations, which share most of their structure.
expression expr_
Value being assigned, which appears on the right hand side of the assignment.
Definition: assignment.hpp:39
AST node for assignment statements.
Definition: assignment.hpp:14

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