diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-28 05:40:07 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-28 05:40:07 +0330 |
commit | e20ddf634b79d6d955bf341447ea16bf944c44a9 (patch) | |
tree | bc6d5be4adf66b09b42a780804eaedfb774ae341 /src/compiler/ast-tree.h | |
parent | 378aa3eee5db8c85b94f0d1852b82a259800fd40 (diff) |
add more type checks
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r-- | src/compiler/ast-tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h index 7f3e3dc..c5f8dd5 100644 --- a/src/compiler/ast-tree.h +++ b/src/compiler/ast-tree.h @@ -118,6 +118,6 @@ bool astTreeParseConstant(ParserNode *parserNode, AstTreeVariables **variables, size_t variables_size); -bool hasTypeOf(AstTree *value, AstTree *type); +bool hasTypeOf(AstTree *value,const AstTree *type); AstTree *makeTypeOf(AstTree *value); -bool typeIsEqual(AstTree *type0, AstTree *type1); +bool typeIsEqual(const AstTree *type0, const AstTree *type1); |