scanner_fwd.hpp 1.7 KB

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