LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Root for all the following classes. More...
#include <exp.hh>
Public Member Functions | |
virtual | ~Exp () |
virtual std::ostream & | dump (std::ostream &) const =0 |
virtual tree::rExp | un_ex ()=0 |
Pretend THIS was an Ex: return the expression part. | |
virtual tree::rStm | un_nx ()=0 |
Pretend THIS was an Nx: return the statement part. | |
virtual tree::rStm | un_cx (const temp::Label &t, const temp::Label &f)=0 |
Pretend THIS was a Cx: return the branching such that the resulting code jump to t if the conditional is satisfied, f otherwise. |
Root for all the following classes.
|
inlinevirtual |
|
pure virtual |
Implemented in translate::Ix, translate::Nx, translate::Ex, and translate::Cx.
Referenced by translate::operator<<().
|
pure virtual |
Pretend THIS was a Cx: return the branching such that the resulting code jump to t if the conditional is satisfied, f otherwise.
Implemented in translate::Ix, translate::Nx, translate::Ex, and translate::Cx.
|
pure virtual |
Pretend THIS was an Ex: return the expression part.
Implemented in translate::Ix, translate::Nx, translate::Ex, and translate::Cx.
|
pure virtual |
Pretend THIS was an Nx: return the statement part.
Implemented in translate::Ix, translate::Nx, translate::Ex, and translate::Cx.