Stan  2.14.0
probability, sampling & optimization
int_literal.hpp
Go to the documentation of this file.
1 #ifndef STAN_LANG_AST_NODE_INT_LITERAL_HPP
2 #define STAN_LANG_AST_NODE_INT_LITERAL_HPP
3 
5 
6 namespace stan {
7  namespace lang {
8 
9  struct int_literal {
13  int val_;
14 
19 
23  int_literal();
24 
30  int_literal(int val); // NOLINT(runtime/explicit)
31 
37  int_literal(const int_literal& il); // NOLINT(runtime/explicit)
38 
45  int_literal& operator=(const int_literal& il);
46  };
47  }
48 }
49 #endif
Probability, optimization and sampling library.
int_literal()
Construct a default int literal.
int val_
Value of literal.
Definition: int_literal.hpp:13
Structure of the type of an expression, which consists of a base type and a number of dimensions...
Definition: expr_type.hpp:14
expr_type type_
Expression type of literal.
Definition: int_literal.hpp:18
int_literal & operator=(const int_literal &il)
Assignment for int literals.

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