1 #ifndef STAN_LANG_AST_NODE_IDX_HPP 2 #define STAN_LANG_AST_NODE_IDX_HPP 10 #include <boost/variant/recursive_variant.hpp> 24 typedef boost::variant<boost::recursive_wrapper<uni_idx>,
25 boost::recursive_wrapper<multi_idx>,
26 boost::recursive_wrapper<omni_idx>,
27 boost::recursive_wrapper<lb_idx>,
28 boost::recursive_wrapper<ub_idx>,
29 boost::recursive_wrapper<lub_idx> >
AST structure to hold a single array or matrix/vector index.
Probability, optimization and sampling library.
boost::variant< boost::recursive_wrapper< uni_idx >, boost::recursive_wrapper< multi_idx >, boost::recursive_wrapper< omni_idx >, boost::recursive_wrapper< lb_idx >, boost::recursive_wrapper< ub_idx >, boost::recursive_wrapper< lub_idx > > idx_t
Variant type for the six index types.
AST structure for lower and upper bounds.
AST structure for holding an upper-bound index.
AST structure for representing all legal indexes.
idx()
Construct a default index.
AST variant structure for indexes, holding any of a unary, multi, omni, lower-bound, upper-bound, or lower- and upper-bound index.
AST structure for holding a lower-bound index.
idx_t idx_
The index variant object.