1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef VALUE_INTEGER #define VALUE_INTEGER #include "Value.h" class Integer : public Value { int value; public: LLVMRet Visit(LLVMVisitor& visitor) const override; const int& get_value() const; Integer(int value); ~Integer() override = default; }; #endif