ExecutionFrame
using System;
namespace CLanguage.Interpreter
{
public class ExecutionFrame
{
public int FP { get; set; }
public int IP { get; set; }
public BaseFunction Function { get; set; }
public ExecutionFrame(BaseFunction function)
{
if (function == null)
throw new ArgumentNullException("function");
Function = function;
}
public override string ToString()
{
return $"{FP}""{Function.Name}";
}
}
}