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

27 lines
819 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_STATEMENT_HPP)
#define BOOST_SPIRIT_X3_CALC8_STATEMENT_HPP
#include <boost/spirit/home/x3.hpp>
#include "ast.hpp"
namespace client
{
namespace x3 = boost::spirit::x3;
namespace parser
{
struct statement_class;
typedef x3::rule<statement_class, ast::statement_list> statement_type;
BOOST_SPIRIT_DECLARE(statement_type);
}
parser::statement_type const& statement();
}
#endif