summaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-07 16:53:53 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-07 16:53:53 +0330
commit92bf7bf5de203eac51befc914dfddbc29d49351b (patch)
tree645448cbedf2d0cc9b3b39651daf1d069c80015a /src/compiler/ast-tree.h
parent62b7af496f2c694ff5361cf21042bbe14f969c64 (diff)
add a way to make generic structs
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 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);