Merge pull request #106 from Servostar/89-implement-structs-for-parser

89 implement structs for parser
This commit is contained in:
Filleo 2024-05-26 17:27:24 +02:00 committed by GitHub
commit 20d144acf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -481,4 +481,17 @@ typedef struct Statement_t {
AST_NODE_PTR nodePtr;
} 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_