Warning, file /include/boost/spirit/home/classic/meta/fundamental.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008 #if !defined(BOOST_SPIRIT_FUNDAMENTAL_HPP)
0009 #define BOOST_SPIRIT_FUNDAMENTAL_HPP
0010
0011 #include <boost/spirit/home/classic/namespace.hpp>
0012 #include <boost/spirit/home/classic/meta/impl/fundamental.ipp>
0013
0014 namespace boost { namespace spirit {
0015
0016 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
0017
0018
0019
0020
0021
0022
0023
0024
0025 template <typename ParserT>
0026 struct node_count {
0027
0028 typedef typename ParserT::parser_category_t parser_category_t;
0029 typedef typename impl::nodes<parser_category_t>
0030 ::template count<ParserT, mpl::int_<0> > count_t;
0031
0032 BOOST_STATIC_CONSTANT(int, value = count_t::value);
0033 };
0034
0035
0036
0037
0038
0039
0040
0041
0042 template <typename ParserT>
0043 struct leaf_count {
0044
0045 typedef typename ParserT::parser_category_t parser_category_t;
0046 typedef typename impl::leafs<parser_category_t>
0047 ::template count<ParserT, mpl::int_<0> > count_t;
0048
0049 BOOST_STATIC_CONSTANT(int, value = count_t::value);
0050 };
0051
0052 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
0053
0054 }}
0055
0056 #endif