1 // Copyright (c) 2001-2010 Hartmut Kaiser, Bryce Lelbach
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #if !defined(SCHEME_OUTPUT_GENERATE_SEXPR_MAR_29_2010_1210PM)
7 #define SCHEME_OUTPUT_GENERATE_SEXPR_MAR_29_2010_1210PM
9 #include <output/sexpr.hpp>
11 namespace scheme { namespace output
13 ///////////////////////////////////////////////////////////////////////////
14 template <typename Char>
15 bool generate_sexpr(std::basic_ostream<Char>& os, utree const& tree);
17 ///////////////////////////////////////////////////////////////////////////
18 template <typename Char>
19 bool generate_sexpr_list(std::basic_ostream<Char>& os, utree const& tree);
21 ///////////////////////////////////////////////////////////////////////////
22 template <typename Char>
23 bool generate_sexpr(std::basic_string<Char>& str, utree const& tree);
25 ///////////////////////////////////////////////////////////////////////////
26 template <typename Char>
27 bool generate_sexpr_list(std::basic_string<Char>& str, utree const& tree);