| 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 |
| 28 |
