mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-09 16:06:08 +02:00
- Add function in and out parameters
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user