#include "order.h"
#include "predicate.h"
+uint64_t Boolean::counter = 0;
+
Boolean::Boolean(ASTNodeType _type) :
ASTNode(_type),
polarity(P_UNDEFINED),
boolVal(BV_UNDEFINED),
- parents() {
+ parents(), id(counter++) {
}
BooleanConst::BooleanConst(bool _isTrue) :
#include "serializer.h"
class Boolean : public ASTNode {
+private:
+ static uint64_t counter;
public:
Boolean(ASTNodeType _type);
virtual ~Boolean() {}
BooleanValue boolVal;
Vector<Boolean *> parents;
virtual void updateParents() {}
-
+ uint64_t id;
CMEMALLOC;
};