Method object refactor

This commit is contained in:
IlyaShurupov 2024-03-25 13:57:31 +03:00 committed by Ilya Shurupov
parent 714bdaef12
commit 715175085e
25 changed files with 420 additions and 529 deletions

View file

@ -1,7 +1,6 @@
#pragma once
#include "primitives/StringObject.hpp"
#include "interpreter/Script.hpp"
#include "primitives/BytecodeObject.hpp"
namespace tp::obj {
@ -9,7 +8,7 @@ namespace tp::obj {
static ObjectType TypeData;
Script* mScript;
BytecodeObject* mBytecodeLink;
static void constructor(MethodObject* self);
static void copy(MethodObject* self, MethodObject* in);