1 #ifndef STAN_LANG_AST_NODE_CONDITIONAL_OP_HPP 2 #define STAN_LANG_AST_NODE_CONDITIONAL_OP_HPP
Probability, optimization and sampling library.
conditional_op()
Construct a default conditional operator expression.
bool has_var_
True if the conditional operator contains a variable that is declared as a parameter, transformed parameter, or local variable.
Structure of the type of an expression, which consists of a base type and a number of dimensions...
expression cond_
Condition (integer).
expression true_val_
Return value if condition is true.
var_origin var_origin_
Origin of this conditional operator expression.
int var_origin
The type of a variable indicating where a variable was declared.
Structure for the conditional operator.
expression false_val_
Return value if condition is false.
expr_type type_
Type of result.