From 6441d6ace4b3ebdc04e3e7fee212830f783eecb0 Mon Sep 17 00:00:00 2001 From: A404M Date: Wed, 29 Jan 2025 09:34:56 +0330 Subject: add cleaning ast tree fix bugs --- src/compiler/ast-tree.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler/ast-tree.h') 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); -- cgit v1.2.3