|
@ -24,11 +24,10 @@ public: |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
virtual ~IntegerLiteral() { |
|
|
virtual ~IntegerLiteral() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
virtual std::shared_ptr<BaseExpression> clone(const std::map<std::string, std::string>& renaming, const std::map<std::string, uint_fast64_t>& bools, const std::map<std::string, uint_fast64_t>& ints) { |
|
|
virtual std::shared_ptr<BaseExpression> clone(const std::map<std::string, std::string>& renaming, const std::map<std::string, uint_fast64_t>& bools, const std::map<std::string, uint_fast64_t>& ints) { |
|
|
return std::shared_ptr<BaseExpression>(this); |
|
|
|
|
|
|
|
|
return std::shared_ptr<BaseExpression>(new IntegerLiteral(this->value)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
virtual int_fast64_t getValueAsInt(std::pair<std::vector<bool>, std::vector<int_fast64_t>> const* variableValues) const { |
|
|
virtual int_fast64_t getValueAsInt(std::pair<std::vector<bool>, std::vector<int_fast64_t>> const* variableValues) const { |
|
|