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_TREE_COMMON_FWD_HPP)
9 #define BOOST_SPIRIT_TREE_COMMON_FWD_HPP
11 #include <boost/spirit/home/classic/namespace.hpp>
12 #include <boost/spirit/home/classic/core/nil.hpp>
14 namespace boost { namespace spirit {
16 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
21 template <typename IteratorT = char const*, typename ValueT = nil_t>
22 struct node_iter_data;
24 template <typename ValueT = nil_t>
25 class node_iter_data_factory;
27 template <typename ValueT = nil_t>
28 class node_val_data_factory;
30 template <typename ValueT = nil_t>
31 class node_all_val_data_factory;
35 typename NodeFactoryT = node_val_data_factory<nil_t>,
43 typename MatchPolicyT,
45 typename NodeFactoryT,
49 struct common_tree_match_policy;
51 template <typename MatchPolicyT, typename NodeFactoryT>
52 struct common_tree_tree_policy;
55 struct no_tree_gen_node_parser;
58 struct leaf_node_parser;
60 template <typename T, typename NodeParserT>
63 struct discard_node_op;
64 struct reduced_node_op;
66 struct discard_first_node_op;
67 struct discard_last_node_op;
70 template <typename T, typename ActionParserT>
71 struct action_directive_parser;
73 struct access_match_action
75 template <typename ParserT, typename ActionT>
79 struct access_node_action
81 template <typename ParserT, typename ActionT>
86 typename IteratorT = char const *,
87 typename NodeFactoryT = node_val_data_factory<nil_t>,
90 struct tree_parse_info;
92 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
94 }} // namespace BOOST_SPIRIT_CLASSIC_NS