diff options
Diffstat (limited to 'src/runner/runner.h')
-rw-r--r-- | src/runner/runner.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/runner/runner.h b/src/runner/runner.h index 6ed9956..eef0d40 100644 --- a/src/runner/runner.h +++ b/src/runner/runner.h @@ -3,15 +3,18 @@ #include "compiler/ast-tree.h" #include <stdint.h> -void runnerVariableSetValue(AstTreeVariable *variable,AstTree *value); -void runnerVariableSetValueWihtoutConstCheck(AstTreeVariable *variable,AstTree *value); +void runnerVariableSetValue(AstTreeVariable *variable, AstTree *value); +void runnerVariableSetValueWihtoutConstCheck(AstTreeVariable *variable, + AstTree *value); bool runAstTree(AstTreeRoot *root); AstTree *runAstTreeFunction(AstTree *tree, AstTreeFunctionCallParam *arguments, size_t arguments_size); -AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeFunctionCallParam *arguments, - size_t arguments_size); +AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeScope *scope, + AstTreeFunctionCallParam *arguments, + size_t arguments_size); -AstTree *runExpression(AstTree *expr, bool *shouldRet,bool isLeft); +AstTree *runExpression(AstTree *expr, AstTreeScope *scope, bool *shouldRet, + bool isLeft); |