From 92bf7bf5de203eac51befc914dfddbc29d49351b Mon Sep 17 00:00:00 2001
From: A404M <ahmadmahmoudiprogrammer@gmail.com>
Date: Mon, 7 Apr 2025 16:53:53 +0330
Subject: add a way to make generic structs

---
 src/compiler/ast-tree.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/compiler/ast-tree.h')

diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index f29ce11..d4bf807 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -275,6 +275,7 @@ AstTree *astTreeParseAccessOperator(ParserNode *parserNode,
 
 bool isFunction(AstTree *value);
 bool isConst(AstTree *tree);
+bool isConstByValue(AstTree *tree);
 AstTree *makeTypeOf(AstTree *value);
 bool typeIsEqual(AstTree *type0,AstTree *type1);
 bool typeIsEqualBack(const AstTree *type0, const AstTree *type1);
-- 
cgit v1.2.3