| 1 | /*============================================================================= |
| 2 | Copyright (c) 2006 Tobias Schwinger |
| 3 | http://spirit.sourceforge.net/ |
| 4 | |
| 5 | Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 6 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 7 | =============================================================================*/ |
| 8 | #if !defined(BOOST_SPIRIT_SCANNER_FWD_HPP) |
| 9 | #define BOOST_SPIRIT_SCANNER_FWD_HPP |
| 10 | |
| 11 | #include <boost/spirit/home/classic/namespace.hpp> |
| 12 | |
| 13 | namespace boost { namespace spirit { |
| 14 | |
| 15 | BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN |
| 16 | |
| 17 | /////////////////////////////////////////////////////////////////////////// |
| 18 | // |
| 19 | // policy classes |
| 20 | // |
| 21 | /////////////////////////////////////////////////////////////////////////// |
| 22 | struct iteration_policy; |
| 23 | struct action_policy; |
| 24 | struct match_policy; |
| 25 | |
| 26 | /////////////////////////////////////////////////////////////////////////// |
| 27 | // |
| 28 | // scanner_policies class |
| 29 | // |
| 30 | /////////////////////////////////////////////////////////////////////////// |
| 31 | template < |
| 32 | typename IterationPolicyT = iteration_policy, |
| 33 | typename MatchPolicyT = match_policy, |
| 34 | typename ActionPolicyT = action_policy> |
| 35 | struct scanner_policies; |
| 36 | |
| 37 | /////////////////////////////////////////////////////////////////////////// |
| 38 | // |
| 39 | // scanner class |
| 40 | // |
| 41 | /////////////////////////////////////////////////////////////////////////// |
| 42 | template < |
| 43 | typename IteratorT = char const*, |
| 44 | typename PoliciesT = scanner_policies<> > |
| 45 | class scanner; |
| 46 | |
| 47 | BOOST_SPIRIT_CLASSIC_NAMESPACE_END |
| 48 | |
| 49 | }} // namespace BOOST_SPIRIT_CLASSIC_NS |
| 50 | |
| 51 | #endif |
| 52 | |
| 53 | |