Public Member Functions | |
my_do_double_with_unit (ParserStore &rp) | |
void | operator() (char const *, char const *) const |
Public Attributes | |
ParserStore & | m_store |
Definition at line 111 of file CreateRules.cc.
my_do_double_with_unit::my_do_double_with_unit | ( | ParserStore & | rp | ) | [inline] |
void my_do_double_with_unit::operator() | ( | char const * | , | |
char const * | ||||
) | const [inline] |
Definition at line 114 of file CreateRules.cc.
00114 { 00115 assert(m_store.mStackUnit.size()>0); 00116 assert(m_store.mStackDouble.size()>0); 00117 double d = m_store.mStackUnit.top() * m_store.mStackDouble.top(); 00118 m_store.mStackDouble.pop(); 00119 m_store.mStackUnit.pop(); 00120 m_store.mStackDouble.push(d); 00121 }
ParserStore& mySemantic::m_store [inherited] |
Definition at line 82 of file CreateRules.cc.