diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-29 09:34:56 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-29 09:34:56 +0330 |
commit | 6441d6ace4b3ebdc04e3e7fee212830f783eecb0 (patch) | |
tree | 866acf3505b0f3f10e20b1294297cf0ccd9bb74e /src/compiler/ast-tree.h | |
parent | 258ad19e6e03e1f1a93e16972cac1096a2d93e04 (diff) |
add cleaning ast tree
fix bugs
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 852441c..b9c1585 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -131,3 +131,9 @@ bool setTypesTypeFunction(AstTree *tree); bool setTypesFunctionCall(AstTree *tree); bool setTypesVariable(AstTree *tree); bool setTypesAstVariable(AstTreeVariable *variable); + +bool astTreeCleanRoot(AstTreeRoot *root); +bool astTreeClean(AstTree *tree); +bool astTreeCleanFunction(AstTree *tree); +bool astTreeCleanVariable(AstTree *tree); +bool astTreeCleanAstVariable(AstTreeVariable *variable); |