diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-30 09:20:48 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-30 09:20:48 +0330 |
commit | ce253ec2ae45879b331d9b9f77f786b78fbfcf2e (patch) | |
tree | 29408aa9625dff6eb92bbc06b8ee6132378026d1 /src/compiler/ast-tree.h | |
parent | 9f2b1bdcfbbc084876c3ab7cc2cb8c15ffb88184 (diff) |
fix bugs
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 2e43973..645ef5f 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -140,7 +140,7 @@ AstTree *astTreeParseVariable(ParserNode *parserNode, size_t variables_size); bool hasTypeOf(AstTree *value, const AstTree *type); -bool isFunction(AstTree *value); +AstTreeFunction* getFunction(AstTree *value); bool isConst(AstTree *value); AstTree *makeTypeOf(AstTree *value); bool typeIsEqual(const AstTree *type0, const AstTree *type1); |