CMS 3D CMS Logo

ExpressionSetter.cc
Go to the documentation of this file.
6 
7 using namespace reco::parser;
8 
9 void ExpressionSetter::operator()(const char *begin, const char *) const {
10  if (exprStack_.empty())
11  throw Exception(begin)
12  << "Grammar error: When trying parse an expression, expression stack is empty! Please contact a developer.";
13  expr_ = exprStack_.back();
14 }
OrCombiner.h
ExpressionSetter.h
AndCombiner.h
Exception.h
reco::parser::ExpressionSetter::exprStack_
ExpressionStack & exprStack_
Definition: ExpressionSetter.h:23
reco::parser::ExpressionSetter::operator()
void operator()(const char *, const char *) const
Definition: ExpressionSetter.cc:9
reco::parser::ExpressionSetter::expr_
ExpressionPtr & expr_
Definition: ExpressionSetter.h:22
reco::parser
Definition: cutParser.h:9
Exception
Definition: hltDiff.cc:246
NotCombiner.h