combine functions for statements partially implemented

This commit is contained in:
ProgramSnail 2023-07-26 23:17:14 +03:00
parent 6b74398f8c
commit 437c9692ec
3 changed files with 269 additions and 1 deletions

View file

@ -256,6 +256,10 @@ public:
return are_annotations_same_to_names_;
}
//
bool combine(FunctionDefinition &&other_function_definition);
private:
SymbolDocs docs_;
std::vector<Constraint> constraints_;
@ -326,6 +330,10 @@ public:
return &methods_.at(id);
}
//
bool combine(TypeDefinition &&other_type_definition);
private:
SymbolDocs docs_;
bool is_on_heap_;
@ -378,6 +386,10 @@ public:
return &methods_.at(id);
}
//
bool combine(TypeclassDefinition &&other_typeclass_definition);
private:
SymbolDocs docs_;
Identifier name_;