Chris@16
|
1 /*=============================================================================
|
Chris@16
|
2 Copyright (c) 2006 Tobias Schwinger
|
Chris@16
|
3 http://spirit.sourceforge.net/
|
Chris@16
|
4
|
Chris@16
|
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
7 =============================================================================*/
|
Chris@16
|
8 #if !defined(BOOST_SPIRIT_CLOSURE_FWD_HPP)
|
Chris@16
|
9 #define BOOST_SPIRIT_CLOSURE_FWD_HPP
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/spirit/home/classic/namespace.hpp>
|
Chris@16
|
12 #include <boost/spirit/home/classic/phoenix/tuples.hpp>
|
Chris@16
|
13
|
Chris@16
|
14 #if !defined(BOOST_SPIRIT_CLOSURE_LIMIT)
|
Chris@16
|
15 # define BOOST_SPIRIT_CLOSURE_LIMIT PHOENIX_LIMIT
|
Chris@16
|
16 #endif
|
Chris@16
|
17
|
Chris@16
|
18 namespace boost { namespace spirit {
|
Chris@16
|
19
|
Chris@16
|
20 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
|
Chris@16
|
21
|
Chris@16
|
22 template<typename ClosureT>
|
Chris@16
|
23 class closure_context;
|
Chris@16
|
24
|
Chris@16
|
25 template <typename ClosureT>
|
Chris@16
|
26 class init_closure_context;
|
Chris@16
|
27
|
Chris@16
|
28 template <typename ParserT, typename ActorTupleT>
|
Chris@16
|
29 struct init_closure_parser;
|
Chris@16
|
30
|
Chris@16
|
31 template <
|
Chris@16
|
32 typename DerivedT
|
Chris@16
|
33 , typename T0 = ::phoenix::nil_t
|
Chris@16
|
34 , typename T1 = ::phoenix::nil_t
|
Chris@16
|
35 , typename T2 = ::phoenix::nil_t
|
Chris@16
|
36
|
Chris@16
|
37 #if BOOST_SPIRIT_CLOSURE_LIMIT > 3
|
Chris@16
|
38 , typename T3 = ::phoenix::nil_t
|
Chris@16
|
39 , typename T4 = ::phoenix::nil_t
|
Chris@16
|
40 , typename T5 = ::phoenix::nil_t
|
Chris@16
|
41
|
Chris@16
|
42 #if BOOST_SPIRIT_CLOSURE_LIMIT > 6
|
Chris@16
|
43 , typename T6 = ::phoenix::nil_t
|
Chris@16
|
44 , typename T7 = ::phoenix::nil_t
|
Chris@16
|
45 , typename T8 = ::phoenix::nil_t
|
Chris@16
|
46
|
Chris@16
|
47 #if BOOST_SPIRIT_CLOSURE_LIMIT > 9
|
Chris@16
|
48 , typename T9 = ::phoenix::nil_t
|
Chris@16
|
49 , typename T10 = ::phoenix::nil_t
|
Chris@16
|
50 , typename T11 = ::phoenix::nil_t
|
Chris@16
|
51
|
Chris@16
|
52 #if BOOST_SPIRIT_CLOSURE_LIMIT > 12
|
Chris@16
|
53 , typename T12 = ::phoenix::nil_t
|
Chris@16
|
54 , typename T13 = ::phoenix::nil_t
|
Chris@16
|
55 , typename T14 = ::phoenix::nil_t
|
Chris@16
|
56
|
Chris@16
|
57 #endif
|
Chris@16
|
58 #endif
|
Chris@16
|
59 #endif
|
Chris@16
|
60 #endif
|
Chris@16
|
61 >
|
Chris@16
|
62 struct closure;
|
Chris@16
|
63
|
Chris@16
|
64 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
|
Chris@16
|
65
|
Chris@16
|
66 }} // namespace BOOST_SPIRIT_CLASSIC_NS
|
Chris@16
|
67
|
Chris@16
|
68 #endif
|
Chris@16
|
69
|