Rename AST structures to Tree and relocate freeing logic

This commit is contained in:
2026-04-30 21:46:15 +02:00
parent ea55dedd07
commit 177fb971e4
17 changed files with 162 additions and 153 deletions
+4 -4
View File
@@ -13,22 +13,22 @@ typedef struct {
char* name;
/** @brief The list of imports in the module. */
ImportDeclaration* imports;
ImportTree* imports;
/** @brief The number of imports in the module. */
size_t import_count;
/** @brief The list of aliases in the module. */
AliasDeclaration* aliases;
AliasTree* aliases;
/** @brief The number of aliases in the module. */
size_t alias_count;
/** @brief The list of variables in the module. */
VariableDeclaration* variables;
VariableTree* variables;
/** @brief The number of variables in the module. */
size_t variable_count;
} Module;
} ModuleTree;
#endif