Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/spirit/home/qi/domain.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #if !defined(BOOST_SPIRIT_DOMAIN_JANUARY_29_2007_0954AM)
0008 #define BOOST_SPIRIT_DOMAIN_JANUARY_29_2007_0954AM
0009 
0010 #if defined(_MSC_VER)
0011 #pragma once
0012 #endif
0013 
0014 #include <boost/spirit/home/support/unused.hpp>
0015 #include <boost/spirit/home/support/meta_compiler.hpp>
0016 #include <boost/spirit/home/support/info.hpp>
0017 #include <boost/spirit/home/support/argument.hpp>
0018 #include <boost/spirit/home/support/context.hpp>
0019 
0020 #include <boost/preprocessor/repeat.hpp>
0021 #include <boost/preprocessor/cat.hpp>
0022 
0023 namespace boost { namespace spirit { namespace qi
0024 {
0025     // qi's domain
0026     struct domain {};
0027 
0028     // bring in some of spirit parts into spirit::qi
0029     using spirit::unused;
0030     using spirit::unused_type;
0031     using spirit::compile;
0032     using spirit::info;
0033 
0034     // You can bring these in with the using directive
0035     // without worrying about bringing in too much.
0036     namespace labels
0037     {
0038         BOOST_PP_REPEAT(SPIRIT_ARGUMENTS_LIMIT, SPIRIT_USING_ARGUMENT, _)
0039         BOOST_PP_REPEAT(SPIRIT_ATTRIBUTES_LIMIT, SPIRIT_USING_ATTRIBUTE, _)
0040 
0041         using spirit::_pass_type;
0042         using spirit::_val_type;
0043         using spirit::_a_type;
0044         using spirit::_b_type;
0045         using spirit::_c_type;
0046         using spirit::_d_type;
0047         using spirit::_e_type;
0048         using spirit::_f_type;
0049         using spirit::_g_type;
0050         using spirit::_h_type;
0051         using spirit::_i_type;
0052         using spirit::_j_type;
0053 
0054 #ifndef BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
0055 
0056         using spirit::_pass;
0057         using spirit::_val;
0058         using spirit::_a;
0059         using spirit::_b;
0060         using spirit::_c;
0061         using spirit::_d;
0062         using spirit::_e;
0063         using spirit::_f;
0064         using spirit::_g;
0065         using spirit::_h;
0066         using spirit::_i;
0067         using spirit::_j;
0068 
0069 #endif
0070     }
0071 
0072 }}}
0073 
0074 #endif