/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(BOOST_SPIRIT_META_GRAMMAR_FEB_12_2007_0534PM) #define BOOST_SPIRIT_META_GRAMMAR_FEB_12_2007_0534PM #include #include #include #include #include #include #include #include namespace boost { namespace spirit { namespace qi { /////////////////////////////////////////////////////////////////////////// // forwards /////////////////////////////////////////////////////////////////////////// template struct is_valid_expr; template struct expr_transform; /////////////////////////////////////////////////////////////////////////// // nonterminal meta-grammar /////////////////////////////////////////////////////////////////////////// struct nonterminal_meta_grammar : meta_grammar::terminal_rule< qi::domain , nonterminal_holder , nonterminal_director > { }; /////////////////////////////////////////////////////////////////////////// // These specializations non-intrusively hooks into the RD meta-grammar. // (see qi/meta_grammar.hpp) /////////////////////////////////////////////////////////////////////////// template struct is_valid_expr >::type> : mpl::true_ { }; template struct expr_transform >::type> : mpl::identity { }; }}} #endif