diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-16 19:19:12 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-16 19:19:12 +0330 |
commit | 62d0709a85a8027d212689aa1995a997152d4f32 (patch) | |
tree | 61203018ef6f3f070af182abbaf9411fe7308495 /src/runner/runner.h | |
parent | 69a4e1a69239c4de6bcade6aac04205db10ec9c5 (diff) |
some clean ups
Diffstat (limited to 'src/runner/runner.h')
-rw-r--r-- | src/runner/runner.h | 15 |
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); |