9 #ifndef ASSOCIATE_DEF_HPP_
10 #define ASSOCIATE_DEF_HPP_
14 #include <boost/spirit/include/phoenix_core.hpp>
15 #include <boost/spirit/include/phoenix_operator.hpp>
16 #include <boost/spirit/include/phoenix_fusion.hpp>
17 #include <boost/spirit/include/phoenix_bind.hpp>
19 namespace SDDS {
namespace parser
21 template <
typename Iterator>
28 typedef function<error_handler<Iterator> > error_handler_function;
33 qi::lexeme_type lexeme;
37 qi::short_type short_;
46 | lexeme[(alpha |
'_') >> *(alnum |
'_')];
79 lit(
"&associate")[_pass = complainAssociate]
82 BOOST_SPIRIT_DEBUG_NODES(
87 error_handler_function(_error_handler)(
88 std::string(
"Error! Expecting "), _4, _3));
qi::rule< Iterator, std::string(), skipper< Iterator > > string
qi::rule< Iterator, long(), skipper< Iterator > > associate_sdds
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_path
constexpr double alpha
The fine structure constant, no dimension.
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_name
qi::rule< Iterator, std::string(), skipper< Iterator > > associate_filename
qi::rule< Iterator, associate(), skipper< Iterator > > start
qi::rule< Iterator, std::string(), skipper< Iterator > > quoted_string
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_description
associate_parser(error_handler< Iterator > &_error_handler)
qi::rule< Iterator, ast::nil(), skipper< Iterator > > associate_unsupported_pre