#include </home/clem/local/src/opie/noncore/tools/calc2/main/instruction.h>
Inheritance diagram for Instruction:


Public Member Functions | |
| Instruction (int p=0) | |
| virtual | ~Instruction () |
| virtual Data | eval (Data)=0 |
| void | setRep (Representation r) |
Public Attributes | |
| Representation | rep |
| Data | acc |
| int | precedence |
|
|
Definition at line 55 of file instruction.h. References p, and precedence. |
|
|
Definition at line 59 of file instruction.h. |
|
|
Implemented in iXOR, iAND, iNOT, iOR, iLSH, iRSH, iOpenBrace, iAdd, iSub, iMul, iDiv, iSin, iCos, and iTan. Referenced by Engine::evalStack(), and Engine::immediateInstruction(). |
|
|
Definition at line 62 of file instruction.h. References rep. Referenced by Engine::immediateInstruction(), and Engine::pushInstruction(). |
|
|
Definition at line 65 of file instruction.h. Referenced by iDiv::eval(), iMul::eval(), iSub::eval(), iAdd::eval(), iOR::eval(), iAND::eval(), iXOR::eval(), Engine::evalStack(), and Engine::pushInstruction(). |
|
|
Definition at line 66 of file instruction.h. Referenced by Engine::evalStack(), and Instruction(). |
|
|
Definition at line 62 of file instruction.h. Referenced by iDiv::eval(), iMul::eval(), iSub::eval(), iAdd::eval(), and setRep(). |
1.4.2