17 #ifndef ASSOCIATE_DEF_HPP_
18 #define ASSOCIATE_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;
41 qi::lexeme_type lexeme;
45 qi::short_type short_;
54 | lexeme[(alpha |
'_') >> *(alnum |
'_')];
87 lit(
"&associate")[_pass = complainAssociate]
90 BOOST_SPIRIT_DEBUG_NODES(
95 error_handler_function(_error_handler)(
96 std::string(
"Error! Expecting "), _4, _3));
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_contents
qi::rule< Iterator, ast::nil(), skipper< Iterator > > associate_unsupported_post
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_name
qi::rule< Iterator, ast::nil(), skipper< Iterator > > associate_unsupported_pre
qi::rule< Iterator, long(), skipper< Iterator > > associate_sdds
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_filename
qi::rule< Iterator, associate(), 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 > > associate_description
associate_parser(error_handler< Iterator > &_error_handler)
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_path