Files
quickbook/phrase.hpp
Daniel James 1c03668d09 Merge from trunk.
The new unicode escape support showed up a difference with the old version.
Header ids were generated from boostbook, while this version was generated them
from quickbook. So fix that as well.


[SVN r60067]
2010-03-02 01:44:48 +00:00

67 lines
1.5 KiB
C++

/*=============================================================================
Copyright (c) 2002 2004 2006 Joel de Guzman
Copyright (c) 2004 Eric Niebler
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
#if !defined(BOOST_SPIRIT_QUICKBOOK_PHRASE_HPP)
#define BOOST_SPIRIT_QUICKBOOK_PHRASE_HPP
#include <vector>
#include <string>
#include <map>
#include "fwd.hpp"
#include "parse_types.hpp"
namespace quickbook
{
struct source_mode {
source_mode() {}
source_mode(std::string const& m) : mode(m) {}
std::string mode;
};
struct anchor {
std::string id;
};
struct link {
formatted_type type;
std::string destination;
std::string content;
};
struct simple_markup {
char symbol;
std::string raw_content;
};
struct cond_phrase {
std::string macro_id;
std::string content;
};
struct break_ {
file_position position;
};
struct image {
typedef std::multimap<std::string, std::string> attribute_map;
file_position position;
std::string image_filename;
attribute_map attributes;
};
struct unicode_char {
std::string value;
};
}
#endif // BOOST_SPIRIT_QUICKBOOK_PHRASE_HPP