| 1 | /*============================================================================= |
| 2 | Copyright (c) 2001-2011 Joel de Guzman |
| 3 | |
| 4 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 5 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | ==============================================================================*/ |
| 7 | #if !defined(BOOST_SPIRIT_DOMAIN_JANUARY_29_2007_0954AM) |
| 8 | #define BOOST_SPIRIT_DOMAIN_JANUARY_29_2007_0954AM |
| 9 | |
| 10 | #if defined(_MSC_VER) |
| 11 | #pragma once |
| 12 | #endif |
| 13 | |
| 14 | #include <boost/spirit/home/support/unused.hpp> |
| 15 | #include <boost/spirit/home/support/meta_compiler.hpp> |
| 16 | #include <boost/spirit/home/support/info.hpp> |
| 17 | #include <boost/spirit/home/support/argument.hpp> |
| 18 | #include <boost/spirit/home/support/context.hpp> |
| 19 | |
| 20 | #include <boost/preprocessor/repeat.hpp> |
| 21 | #include <boost/preprocessor/cat.hpp> |
| 22 | |
| 23 | namespace boost { namespace spirit { namespace qi |
| 24 | { |
| 25 | // qi's domain |
| 26 | struct domain {}; |
| 27 | |
| 28 | // bring in some of spirit parts into spirit::qi |
| 29 | using spirit::unused; |
| 30 | using spirit::unused_type; |
| 31 | using spirit::compile; |
| 32 | using spirit::info; |
| 33 | |
| 34 | // You can bring these in with the using directive |
| 35 | // without worrying about bringing in too much. |
| 36 | namespace labels |
| 37 | { |
| 38 | BOOST_PP_REPEAT(SPIRIT_ARGUMENTS_LIMIT, SPIRIT_USING_ARGUMENT, _) |
| 39 | BOOST_PP_REPEAT(SPIRIT_ATTRIBUTES_LIMIT, SPIRIT_USING_ATTRIBUTE, _) |
| 40 | |
| 41 | using spirit::_pass_type; |
| 42 | using spirit::_val_type; |
| 43 | using spirit::_a_type; |
| 44 | using spirit::_b_type; |
| 45 | using spirit::_c_type; |
| 46 | using spirit::_d_type; |
| 47 | using spirit::_e_type; |
| 48 | using spirit::_f_type; |
| 49 | using spirit::_g_type; |
| 50 | using spirit::_h_type; |
| 51 | using spirit::_i_type; |
| 52 | using spirit::_j_type; |
| 53 | |
| 54 | #ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS |
| 55 | |
| 56 | using spirit::_pass; |
| 57 | using spirit::_val; |
| 58 | using spirit::_a; |
| 59 | using spirit::_b; |
| 60 | using spirit::_c; |
| 61 | using spirit::_d; |
| 62 | using spirit::_e; |
| 63 | using spirit::_f; |
| 64 | using spirit::_g; |
| 65 | using spirit::_h; |
| 66 | using spirit::_i; |
| 67 | using spirit::_j; |
| 68 | |
| 69 | #endif |
| 70 | } |
| 71 | |
| 72 | }}} |
| 73 | |
| 74 | #endif |
| 75 | |