aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-01 12:54:56 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-04-01 12:54:56 +0330
commit052ff9cc03544f29e1c3c79f09b6b0f3fb989532 (patch)
tree31c21a99336c6bde18aaabb3efb2a69ace833174 /src/compiler/ast-tree.h
parenta0a1b0e555526fa0dc7628b921c5ffa3f391b2c3 (diff)
trying to fix functions as argument and more dynamically calling
functions
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 d6c2523..e12daec 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -235,6 +235,7 @@ AstTree *astTreeParseCurlyBracket(ParserNode *parserNode,
AstTree *astTreeParseParenthesis(ParserNode *parserNode, AstTreeHelper *helper);
AstTreeFunction *getFunction(AstTree *value);
+bool isFunction(AstTree *value);
bool isConst(AstTree *tree, AstTreeHelper *helper);
AstTree *makeTypeOf(AstTree *value);
bool typeIsEqual(const AstTree *type0, const AstTree *type1);