aboutsummaryrefslogtreecommitdiff
path: root/src/runner/runner.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-07 14:32:53 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-07 14:32:53 +0330
commit20ff73d84b85db77aecb2171ce4d0e13253cccfd (patch)
tree2cc8b7f8816bc12ad97fe4a979ffccd29d347059 /src/runner/runner.h
parentd7c31e44861b4d98fbddc177002e0a311a6d26af (diff)
add lazy to variables
Diffstat (limited to 'src/runner/runner.h')
-rw-r--r--src/runner/runner.h7
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);