1 #ifndef HLTrigger_HLTcore_TriggerExpressionParser_h 2 #define HLTrigger_HLTcore_TriggerExpressionParser_h 5 #include <boost/phoenix.hpp> 6 #include <boost/spirit/include/qi.hpp> 16 namespace qi = boost::spirit::qi;
17 namespace ascii = boost::spirit::ascii;
19 using boost::phoenix::new_;
20 using boost::spirit::unused_type;
22 template <
typename Iterator>
23 class Parser :
public qi::grammar<Iterator, Evaluator *(), ascii::space_type> {
41 token_l1algo %= qi::raw[qi::lexeme[
"L1_" >> +(qi::char_(
"a-zA-Z0-9_*?"))]];
55 prescale = (
element >>
'/' >> qi::uint_)[qi::_val = new_<Prescaler>(qi::_1, qi::_2)];
65 token_path[qi::_val = new_<PathReader>(qi::_1)]);
77 typedef qi::rule<Iterator, std::string(), ascii::space_type>
name_rule;
78 typedef qi::rule<Iterator, Evaluator *(), ascii::space_type>
rule;
107 typedef typename T::const_iterator
Iterator;
130 const char *begin =
text;
146 #endif // HLTrigger_HLTcore_TriggerExpressionParser_h
terminal_rule token_false
Evaluator * parse(const T &text)
qi::rule< Iterator, Evaluator *(), ascii::space_type > rule
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
terminal_rule operand_masking
terminal_rule operand_not
qi::rule< Iterator > terminal_rule
terminal_rule operand_xor
qi::rule< Iterator, std::string(), ascii::space_type > name_rule
terminal_rule operand_and
dd4hep::tools::Evaluator & evaluator()