/*============================================================================= Copyright (c) 2001-2011 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_MINIC_FUNCTION_HPP) #define BOOST_SPIRIT_MINIC_FUNCTION_HPP #include "statement.hpp" namespace client { namespace parser { /////////////////////////////////////////////////////////////////////////////// // The function grammar /////////////////////////////////////////////////////////////////////////////// template struct function : qi::grammar > { function(error_handler& error_handler); statement body; qi::rule > name; qi::rule > identifier; qi::rule(), skipper > argument_list; qi::rule > start; }; }} #endif