aboutsummaryrefslogtreecommitdiff
path: root/src/runner/runner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runner/runner.h')
-rw-r--r--src/runner/runner.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/runner/runner.h b/src/runner/runner.h
index 5a12db3..e78f568 100644
--- a/src/runner/runner.h
+++ b/src/runner/runner.h
@@ -9,12 +9,19 @@ AstTree *runnerVariableGetValue(AstTreeVariable *variable);
bool runAstTree(AstTreeRoots roots);
-AstTree *runAstTreeFunction(AstTree *tree, AstTreeFunctionCallParam *arguments,
+AstTree *runAstTreeFunction(AstTree *tree, AstTree **arguments,
size_t arguments_size, bool isComptime);
AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeScope *scope,
- AstTreeFunctionCallParam *arguments,
- size_t arguments_size, bool isComptime);
+ AstTree **arguments, size_t arguments_size,
+ bool isComptime);
AstTree *runExpression(AstTree *expr, AstTreeScope *scope, bool *shouldRet,
- bool isLeft, bool isComptime, u32 *breakCount,bool *shouldContinue);
+ bool isLeft, bool isComptime, u32 *breakCount,
+ bool *shouldContinue);
+
+AstTree *getForVariable(AstTree *expr, AstTreeScope *scope, bool *shouldRet,
+ bool isLeft, bool isComptime, u32 *breakCount,
+ bool *shouldContinue, bool isLazy);
+
+bool discontinue(bool *shouldRet, u32 *breakCount);