1 #ifndef __AIRINV_BAS_BASCOMPARSERTYPES_HPP
2 #define __AIRINV_BAS_BASCOMPARSERTYPES_HPP
11 #include <boost/spirit/home/classic/core.hpp>
12 #include <boost/spirit/home/classic/attribute.hpp>
13 #include <boost/spirit/home/classic/utility/functor_parser.hpp>
14 #include <boost/spirit/home/classic/utility/loops.hpp>
15 #include <boost/spirit/home/classic/utility/chset.hpp>
16 #include <boost/spirit/home/classic/utility/confix.hpp>
17 #include <boost/spirit/home/classic/iterator/file_iterator.hpp>
18 #include <boost/spirit/home/classic/actor/push_back_actor.hpp>
19 #include <boost/spirit/home/classic/actor/assign_actor.hpp>
35 typedef boost::spirit::classic::file_iterator<char_t>
iterator_t;
36 typedef boost::spirit::classic::scanner<iterator_t>
scanner_t;
37 typedef boost::spirit::classic::rule<scanner_t>
rule_t;
45 typedef boost::spirit::classic::int_parser<unsigned int, 10, 1, 1>
int1_p_t;
48 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 2, 2>
uint2_p_t;
51 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 2>
uint1_2_p_t;
54 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 3>
uint1_3_p_t;
57 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 4, 4>
uint4_p_t;
60 typedef boost::spirit::classic::uint_parser<unsigned int, 10, 1, 4>
uint1_4_p_t;
63 typedef boost::spirit::classic::chset<char_t>
chset_t;
67 typedef boost::spirit::classic::impl::loop_traits<
chset_t,
72 typedef boost::spirit::classic::bounded<uint2_p_t, unsigned int>
bounded2_p_t;
73 typedef boost::spirit::classic::bounded<uint1_2_p_t, unsigned int>
bounded1_2_p_t;
74 typedef boost::spirit::classic::bounded<uint1_3_p_t, unsigned int>
bounded1_3_p_t;
75 typedef boost::spirit::classic::bounded<uint4_p_t, unsigned int>
bounded4_p_t;
76 typedef boost::spirit::classic::bounded<uint1_4_p_t, unsigned int>
bounded1_4_p_t;
78 #endif // __AIRINV_BAS_BASCOMPARSERTYPES_HPP