1/*=============================================================================
2 Copyright (c) 2001-2015 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_REXPR_HPP)
8#define BOOST_SPIRIT_X3_REXPR_HPP
9
10#include "ast.hpp"
11
12#include <boost/spirit/home/x3.hpp>
13
14namespace rexpr
15{
16 namespace x3 = boost::spirit::x3;
17
18 ///////////////////////////////////////////////////////////////////////////
19 // rexpr public interface
20 ///////////////////////////////////////////////////////////////////////////
21 namespace parser
22 {
23 struct rexpr_class;
24 typedef
25 x3::rule<rexpr_class, ast::rexpr>
26 rexpr_type;
27 BOOST_SPIRIT_DECLARE(rexpr_type);
28 }
29
30 parser::rexpr_type const& rexpr();
31}
32
33#endif
34

source code of boost/libs/spirit/example/x3/rexpr/rexpr_full/rexpr/rexpr.hpp