Public Member Functions | |
my_do_not (ParserStore &rp) | |
void | operator() (char const *a, char const *b) const |
Public Attributes | |
ParserStore & | m_store |
Definition at line 284 of file CreateRules.cc.
my_do_not::my_do_not | ( | ParserStore & | rp | ) | [inline] |
void my_do_not::operator() | ( | char const * | a, | |
char const * | b | |||
) | const [inline] |
Definition at line 287 of file CreateRules.cc.
00287 { 00288 assert(m_store.mStackRules.size()>=1); 00289 Rule* rule1 = m_store.mStackRules.top(); 00290 m_store.mStackRules.pop(); 00291 00292 Rule* outRule = new NotRule(string(a,b),rule1); 00293 //cout << "STACK not-rule composed of " << rule1->name() << std::endl; 00294 00295 m_store.mStackRules.push(outRule); 00296 }
ParserStore& mySemantic::m_store [inherited] |
Definition at line 82 of file CreateRules.cc.