33 #ifndef _uhal_grammars_NodeTreeParametersGrammar_hpp_
34 #define _uhal_grammars_NodeTreeParametersGrammar_hpp_
40 #include <boost/fusion/adapted/std_pair.hpp>
41 #include <boost/spirit/include/qi_char.hpp>
42 #include <boost/spirit/include/qi_grammar.hpp>
43 #include <boost/unordered_map.hpp>
51 struct NodeTreeParametersGrammar : boost::spirit::qi::grammar<std::string::const_iterator, boost::unordered_map<std::string, std::string>()>
56 boost::spirit::qi::rule<std::string::const_iterator, boost::unordered_map<std::string, std::string>()>
query;
58 boost::spirit::qi::rule<std::string::const_iterator, std::pair<std::string, std::string>()>
pair;
60 boost::spirit::qi::rule<std::string::const_iterator, std::string()>
key;
62 boost::spirit::qi::rule<std::string::const_iterator, std::string()>
value;