isomatch
|
#include <gateExpression.h>
Public Member Functions | |
ExpressionBase (const expr::ExpressionType &type) | |
virtual | ~ExpressionBase () |
virtual sign_t | sign () const =0 |
bool | equals (const ExpressionBase &oth) const |
void | addRef () |
The object is referenced somewhere. More... | |
void | deleteSelf () |
Call this instead of delete More... | |
Public Attributes | |
expr::ExpressionType | type |
Type of the expression (used for casts) More... | |
Protected Attributes | |
int | refcount |
Base expression type, inherited by every "real" expression type
|
inline |
|
inlinevirtual |
|
inline |
The object is referenced somewhere.
|
inline |
Call this instead of delete
bool ExpressionBase::equals | ( | const ExpressionBase & | oth | ) | const |
Check whether two experessions are formally equal
|
pure virtual |
Compute a signature for this expression
Implemented in ExpressionMerge, ExpressionSlice, ExpressionUnOpCst, ExpressionUnOp, ExpressionBinOp, ExpressionVar, ExpressionLongConst, and ExpressionConst.
|
protected |
expr::ExpressionType ExpressionBase::type |
Type of the expression (used for casts)