17 #ifndef INCLUDE_DEF_HPP_
18 #define INCLUDE_DEF_HPP_
22 #include <boost/phoenix/core.hpp>
23 #include <boost/phoenix/operator.hpp>
24 #include <boost/phoenix/fusion.hpp>
25 #include <boost/phoenix/bind.hpp>
27 namespace SDDS {
namespace parser
29 template <
typename Iterator>
36 typedef function<error_handler<Iterator> > error_handler_function;
40 qi::lexeme_type lexeme;
49 | lexeme[(alpha |
'_') >> *(alnum |
'_')];
56 lit(
"&include")[_pass = complainInclude]
59 BOOST_SPIRIT_DEBUG_NODES(
64 error_handler_function(_error_handler)(
65 std::string(
"Error! Expecting "), _4, _3));
include_parser(error_handler< Iterator > &_error_handler)
qi::rule< Iterator, include(), skipper< Iterator > > start
qi::rule< Iterator, std::string(), skipper< Iterator > > string
double function(PyOpalObjectNS::PyOpalObject< C > pyobject, double t)
qi::rule< Iterator, std::string(), skipper< Iterator > > quoted_string
constexpr double alpha
The fine structure constant, no dimension.
qi::rule< Iterator, std::string(), skipper< Iterator > > include_filename