mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-09 07:56:06 +02:00
- Add functions
- Code improvements
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace YesNt.Interpreter.Runtime
|
||||
{
|
||||
internal class FunctionScope
|
||||
{
|
||||
public int CallerLine { get; }
|
||||
public Dictionary<string, string> Variables { get; } = new();
|
||||
|
||||
public FunctionScope(int callerLine)
|
||||
{
|
||||
CallerLine = callerLine;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user