Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:02:17

0001 //  Copyright (c) 2001-2011 Hartmut Kaiser
0002 // 
0003 //  Distributed under the Boost Software License, Version 1.0. (See accompanying 
0004 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 #if !defined(BOOST_SPIRIT_LEX_IN_STATE_OCT_09_2007_0748PM)
0007 #define BOOST_SPIRIT_LEX_IN_STATE_OCT_09_2007_0748PM
0008 
0009 #if defined(_MSC_VER)
0010 #pragma once
0011 #endif
0012 
0013 #include <boost/proto/traits.hpp>
0014 
0015 ///////////////////////////////////////////////////////////////////////////////
0016 namespace boost { namespace spirit { namespace qi
0017 {
0018     ///////////////////////////////////////////////////////////////////////////
0019     // The following is a helper template allowing to use the in_state()[] as 
0020     // a skip parser
0021     ///////////////////////////////////////////////////////////////////////////
0022     template <typename Skipper, typename String = char const*>
0023     struct in_state_skipper
0024       : proto::subscript<
0025             typename proto::terminal<
0026                 terminal_ex<tag::in_state, fusion::vector1<String> > 
0027             >::type
0028           , Skipper
0029         >::type {};
0030 }}}
0031 
0032 #endif