diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-07 14:32:53 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-07 14:32:53 +0330 |
commit | 20ff73d84b85db77aecb2171ce4d0e13253cccfd (patch) | |
tree | 2cc8b7f8816bc12ad97fe4a979ffccd29d347059 /src/runner/runner.h | |
parent | d7c31e44861b4d98fbddc177002e0a311a6d26af (diff) |
add lazy to variables
Diffstat (limited to 'src/runner/runner.h')
-rw-r--r-- | src/runner/runner.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/runner/runner.h b/src/runner/runner.h index 93b250a..343f6c2 100644 --- a/src/runner/runner.h +++ b/src/runner/runner.h @@ -5,15 +5,16 @@ void runnerVariableSetValue(AstTreeVariable *variable, AstTree *value); void runnerVariableSetValueWihtoutConstCheck(AstTreeVariable *variable, AstTree *value); +AstTree *runnerVariableGetValue(AstTreeVariable *variable); bool runAstTree(AstTreeRoots roots); AstTree *runAstTreeFunction(AstTree *tree, AstTreeFunctionCallParam *arguments, - size_t arguments_size,bool isComptime); + size_t arguments_size, bool isComptime); AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeScope *scope, AstTreeFunctionCallParam *arguments, - size_t arguments_size,bool isComptime); + size_t arguments_size, bool isComptime); AstTree *runExpression(AstTree *expr, AstTreeScope *scope, bool *shouldRet, - bool isLeft,bool isComptime); + bool isLeft, bool isComptime); |