1 /*=============================================================================
2 Copyright (c) 2006 Tobias Schwinger
3 http://spirit.sourceforge.net/
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_SUBRULE_FWD_HPP)
9 #define BOOST_SPIRIT_SUBRULE_FWD_HPP
11 #include <boost/spirit/home/classic/namespace.hpp>
12 #include <boost/spirit/home/classic/core/non_terminal/parser_context.hpp>
14 namespace boost { namespace spirit {
16 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
18 template <int ID, typename ContextT = parser_context<> >
21 template <int ID, typename DefT, typename ContextT = parser_context<> >
22 struct subrule_parser;
24 template <typename ScannerT, typename ListT>
25 struct subrules_scanner;
27 template <typename FirstT, typename RestT>
30 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
32 }} // namespace BOOST_SPIRIT_CLASSIC_NS