blob: 01bbe54e7790b25269a7ec092a459543a01371ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "Integer.h"
#include "../LLVMVisitor/LLVMVisitor.h"
std::string Integer::Visit(LLVMVisitor& visitor) const {
return visitor.Visit(*this);
}
Value::T_Primitive Integer::RetType() const {
return Value::T_integer;
}
const int& Integer::get_value() const {
return this->value;
}
Integer::Integer(int value) : value(value) {}
|