aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index cf868fd..0d63252 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -462,6 +462,7 @@ bool isFunction(AstTree *value);
bool isShapeShifter(AstTreeFunction *function);
bool hasAnyTypeInside(AstTree *type);
bool isConst(AstTree *tree);
+bool isLeftValue(AstTree *tree);
AstTree *makeTypeOf(AstTree *value);
AstTree *makeTypeOfFunction(AstTreeFunction *function, const char *str_begin,
const char *str_end);
@@ -557,6 +558,13 @@ AstTreeVariable *setTypesFindVariable(const char *name_begin,
AstTree *getShapeShifterElement(AstTreeFunctionCall *metadata,
AstTreeSetTypesHelper helper);
+bool doesFunctionMatch(AstTreeTypeFunction *function,
+ AstTreeFunctionCall *functionCall,
+ AstTreeSetTypesHelper helper);
+bool doesShapeShifterMatch(AstTreeShapeShifter *shapeShifter,
+ AstTreeFunctionCall *functionCall,
+ AstTreeSetTypesHelper helper);
+
char *u8ArrayToCString(AstTree *tree);
AstTree *makeStringType();