summaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-21 01:44:38 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-02-21 01:44:38 +0330
commit13156d99a29ba927f64d344cf4d385414bcf61e1 (patch)
treed20a5e2e18b471f4ee24b5766c04aa9509aa6fff /src/compiler/ast-tree.h
parentdf4604f27bbd8ed42ea2c7026c7e4845aafd1a8b (diff)
add type def as variable
fix some memory leaks
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index b58d413..c8f5f75 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -213,6 +213,7 @@ AstTreeFunction *getFunction(AstTree *value);
bool isConst(AstTree *value);
AstTree *makeTypeOf(AstTree *value);
bool typeIsEqual(const AstTree *type0, const AstTree *type1);
+AstTree *getValue(AstTree *tree);
bool isCircularDependencies(AstTreeHelper *helper, AstTreeVariable *variable,
AstTree *tree);