#include "MemoryData.h" #include MemoryData::Type MemoryData::get_type() const { return this->type; } MemoryData::MemoryData() : type(TNone) {} Name::Name() : value() { this->type = TName; } Name::Name(string& str) : value(str) { this->type = TName; } Int::Int(int num) : value(num) { this->type = TInt; } Function::Function(list argNames, int scopeStart, int scopeEnd) : argumentNames(argNames), scopeStart(scopeStart), scopeEnd(scopeEnd) { this->type = TFunc; }