![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/include/boost/spirit/home/lex/lexer/ |
Upload File : |
// Copyright (c) 2001-2011 Hartmut Kaiser // Copyright (c) 2011 Thomas Heller // // 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(SPIRIT_LEX_SUPPORT_FUNCTIONS_EXPRESSION_MAR_22_2011_0711PM) #define SPIRIT_LEX_SUPPORT_FUNCTIONS_EXPRESSION_MAR_22_2011_0711PM #if defined(_MSC_VER) #pragma once #endif #include <boost/spirit/include/phoenix_core.hpp> namespace boost { namespace spirit { namespace lex { template <typename> struct less_type; struct more_type; template <typename, typename> struct lookahead_type; }}} /////////////////////////////////////////////////////////////////////////////// BOOST_PHOENIX_DEFINE_EXPRESSION( (boost)(spirit)(lex)(less) , (boost::phoenix::meta_grammar) ) BOOST_PHOENIX_DEFINE_EXPRESSION( (boost)(spirit)(lex)(lookahead) , (boost::phoenix::meta_grammar) (boost::phoenix::meta_grammar) ) namespace boost { namespace phoenix { namespace result_of { template <> struct is_nullary<custom_terminal<boost::spirit::lex::more_type> > : mpl::false_ {}; } template <typename Dummy> struct is_custom_terminal<boost::spirit::lex::more_type, Dummy> : mpl::true_ {}; template <typename Dummy> struct custom_terminal<boost::spirit::lex::more_type, Dummy> : proto::call< v2_eval( proto::make<boost::spirit::lex::more_type()> , proto::call<functional::env(proto::_state)> ) > {}; template <typename Dummy> struct is_nullary::when<spirit::lex::rule::less, Dummy> : proto::make<mpl::false_()> {}; template <typename Dummy> struct default_actions::when<spirit::lex::rule::less, Dummy> : proto::call< v2_eval( proto::make< spirit::lex::less_type<proto::_child0>(proto::_child0) > , _env ) > {}; template <typename Dummy> struct is_nullary::when<spirit::lex::rule::lookahead, Dummy> : proto::make<mpl::false_()> {}; template <typename Dummy> struct default_actions::when<spirit::lex::rule::lookahead, Dummy> : proto::call< v2_eval( proto::make< spirit::lex::lookahead_type< proto::_child0 , proto::_child1 >( proto::_child0 , proto::_child1 ) > , _env ) > {}; }} #endif