mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
part of typeclass_graph
This commit is contained in:
parent
4f54bb4bd7
commit
9aeba7b0de
8 changed files with 154 additions and 68 deletions
|
|
@ -80,6 +80,8 @@ struct Function {
|
|||
struct Typeclass {
|
||||
std::vector<Parameter> parameters;
|
||||
interpreter::tokens::TypeclassDefinitionStatement* node;
|
||||
|
||||
utils::IdType parent_namespace;
|
||||
};
|
||||
|
||||
struct Import {
|
||||
|
|
@ -98,8 +100,10 @@ struct Namespace {
|
|||
|
||||
utils::IdType parent_namespace;
|
||||
|
||||
utils::ClassInternalsModifier modifier;
|
||||
utils::ClassInternalsModifier modifier = utils::ClassInternalsModifier::Static;
|
||||
std::string type_name;
|
||||
|
||||
std::optional<interpreter::tokens::Namespace*> node;
|
||||
};
|
||||
|
||||
} // namespace info::definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue