]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/spirit/example/x3/calc/calc9/statement.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / spirit / example / x3 / calc / calc9 / statement.hpp
1 /*=============================================================================
2 Copyright (c) 2001-2014 Joel de Guzman
3
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 =============================================================================*/
7 #if !defined(BOOST_SPIRIT_X3_CALC9_STATEMENT_HPP)
8 #define BOOST_SPIRIT_X3_CALC9_STATEMENT_HPP
9
10 #include <boost/spirit/home/x3.hpp>
11 #include "ast.hpp"
12
13 namespace client
14 {
15 namespace x3 = boost::spirit::x3;
16 namespace parser
17 {
18 struct statement_class;
19 typedef x3::rule<statement_class, ast::statement_list> statement_type;
20 typedef statement_type::id statement_id;
21 BOOST_SPIRIT_DECLARE(statement_type);
22 }
23
24 parser::statement_type const& statement();
25 }
26
27 #endif