- Add function in and out parameters

This commit is contained in:
Stone_Red
2022-01-11 19:08:15 +01:00
parent 2a7e8074ba
commit 895eb51c8d
4 changed files with 165 additions and 94 deletions
+4 -1
View File
@@ -6,10 +6,13 @@ namespace YesNt.Interpreter.Runtime
{
public int CallerLine { get; }
public Dictionary<string, string> Variables { get; } = new();
public Stack<string> Arguemtns { get; } = new();
public Stack<string> Results { get; } = new();
public FunctionScope(int callerLine)
public FunctionScope(int callerLine, Stack<string> arguemtns)
{
CallerLine = callerLine;
Arguemtns = arguemtns;
}
}
}