spirit/example/x3/calc/calc8/expression.hpp
2015-05-19 14:33:41 +02:00

27 lines
823 B
C++

/*=============================================================================
Copyright (c) 2001-2014 Joel de Guzman
Distributed under 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_X3_CALC8_EXPRESSION_HPP)
#define BOOST_SPIRIT_X3_CALC8_EXPRESSION_HPP
#include <boost/spirit/home/x3.hpp>
#include "ast.hpp"
namespace client
{
namespace x3 = boost::spirit::x3;
namespace parser
{
struct expression_class;
typedef x3::rule<expression_class, ast::expression> expression_type;
BOOST_SPIRIT_DECLARE(expression_type);
}
parser::expression_type const& expression();
}
#endif