added module type

This commit is contained in:
Sven Vogel 2024-05-26 17:11:43 +02:00
parent 7705aea238
commit dcd309c7b4
1 changed files with 13 additions and 0 deletions

View File

@ -469,4 +469,17 @@ typedef struct Statement_t {
} impl;
} Statement;
// .------------------------------------------------.
// | Module |
// '------------------------------------------------'
typedef struct Module_t {
GHashTable* boxes;
GHashTable* types;
GHashTable* functions;
GHashTable* variables;
// to be resolved after the module has been parsed completely
GArray* imports;
} Module;
#endif // SET_TYPES_H_