mirror of
https://codeberg.org/ProgramSnail/lang.git
synced 2025-12-06 06:58:46 +00:00
combine functions for statements partially implemented
This commit is contained in:
parent
6b74398f8c
commit
437c9692ec
3 changed files with 269 additions and 1 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue