mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
execute_visitor refactoring, type_constructor & type_constructor_patter fixes
This commit is contained in:
parent
f6de515b2c
commit
273ac960fd
2 changed files with 73 additions and 49 deletions
|
|
@ -21,6 +21,8 @@ public:
|
|||
info::ContextManager<info::value::Value, info::value::ValueManager>& context_manager,
|
||||
interpreter::tokens::PartitionStatement* execution_root)
|
||||
: namespace_visitor_(global_info.CreateVisitor()),
|
||||
global_info_(global_info),
|
||||
typeclass_graph_(*global_info.GetTypeclassGraph()),
|
||||
type_context_manager_(type_context_manager),
|
||||
context_manager_(context_manager) {}
|
||||
|
||||
|
|
@ -159,6 +161,8 @@ private:
|
|||
}
|
||||
private:
|
||||
info::GlobalInfo::NamespaceVisitor namespace_visitor_;
|
||||
info::GlobalInfo& global_info_;
|
||||
info::TypeclassGraph& typeclass_graph_;
|
||||
info::ContextManager<info::type::Type, info::type::TypeManager>& type_context_manager_;
|
||||
info::ContextManager<info::value::Value, info::value::ValueManager>& context_manager_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue