1 /*============================================================================= 2 Copyright (c) 2002-2018 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_MINIMAL_EMPLOYEE_HPP) 8 #define BOOST_SPIRIT_X3_MINIMAL_EMPLOYEE_HPP 9 10 #include <boost/config/warning_disable.hpp> 11 #include <boost/spirit/home/x3.hpp> 12 13 #include "ast.hpp" 14 15 namespace client 16 { 17 /////////////////////////////////////////////////////////////////////////////// 18 // Our employee parser declaration 19 /////////////////////////////////////////////////////////////////////////////// 20 namespace parser 21 { 22 namespace x3 = boost::spirit::x3; 23 using employee_type = x3::rule<class employee, ast::employee>; 24 BOOST_SPIRIT_DECLARE(employee_type); 25 } 26 27 parser::employee_type employee(); 28 } 29 30 #endif 31