fixes, internal type is now abstract type

This commit is contained in:
ProgramSnail 2023-05-22 10:58:50 +03:00
parent 0290b5604a
commit 3af0772da6
7 changed files with 148 additions and 89 deletions

View file

@ -33,6 +33,7 @@ struct Parameter {
struct AbstractType {
utils::AbstractTypeModifier modifier;
Parameter type;
interpreter::tokens::AbstractTypeDefinitionStatement* node = nullptr;
};
struct AliasType {
@ -45,8 +46,8 @@ struct AliasType {
struct AnyType {
Parameter type;
std::vector<Parameter> parameters;
interpreter::tokens::AnyType* value;
utils::ClassModifier modifier;
interpreter::tokens::TypeDefinitionStatement* node = nullptr;
utils::IdType parent_namespace = 0;
};