Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:01:54

0001 /*=============================================================================
0002     Copyright (c) 1998-2003 Joel de Guzman
0003     Copyright (c) 2001 Daniel Nuffer
0004     Copyright (c) 2002 Hartmut Kaiser
0005     http://spirit.sourceforge.net/
0006 
0007   Distributed under the Boost Software License, Version 1.0. (See accompanying
0008   file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0009 =============================================================================*/
0010 #if !defined(BOOST_SPIRIT_SEQUENTIAL_AND_HPP)
0011 #define BOOST_SPIRIT_SEQUENTIAL_AND_HPP
0012 
0013 #include <boost/spirit/home/classic/namespace.hpp>
0014 #include <boost/spirit/home/classic/core/parser.hpp>
0015 #include <boost/spirit/home/classic/core/primitives/primitives.hpp>
0016 #include <boost/spirit/home/classic/core/composite/composite.hpp>
0017 #include <boost/spirit/home/classic/meta/as_parser.hpp>
0018 
0019 namespace boost { namespace spirit {
0020 
0021 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
0022 
0023     ///////////////////////////////////////////////////////////////////////////
0024     //
0025     //  sequential-and operators
0026     //
0027     //      Handles expressions of the form:
0028     //
0029     //          a && b
0030     //
0031     //      Same as a >> b.
0032     //
0033     ///////////////////////////////////////////////////////////////////////////
0034     template <typename A, typename B>
0035     sequence<A, B>
0036     operator&&(parser<A> const& a, parser<B> const& b);
0037     
0038     template <typename A>
0039     sequence<A, chlit<char> >
0040     operator&&(parser<A> const& a, char b);
0041     
0042     template <typename B>
0043     sequence<chlit<char>, B>
0044     operator&&(char a, parser<B> const& b);
0045     
0046     template <typename A>
0047     sequence<A, strlit<char const*> >
0048     operator&&(parser<A> const& a, char const* b);
0049     
0050     template <typename B>
0051     sequence<strlit<char const*>, B>
0052     operator&&(char const* a, parser<B> const& b);
0053     
0054     template <typename A>
0055     sequence<A, chlit<wchar_t> >
0056     operator&&(parser<A> const& a, wchar_t b);
0057     
0058     template <typename B>
0059     sequence<chlit<wchar_t>, B>
0060     operator&&(wchar_t a, parser<B> const& b);
0061     
0062     template <typename A>
0063     sequence<A, strlit<wchar_t const*> >
0064     operator&&(parser<A> const& a, wchar_t const* b);
0065     
0066     template <typename B>
0067     sequence<strlit<wchar_t const*>, B>
0068     operator&&(wchar_t const* a, parser<B> const& b);
0069 
0070 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
0071 
0072 }} // namespace BOOST_SPIRIT_CLASSIC_NS
0073 
0074 #endif
0075 
0076 #include <boost/spirit/home/classic/core/composite/impl/sequential_and.ipp>