AddStatement now passes runtime context for custom handlers

This commit is contained in:
Stone_Red
2026-03-06 00:04:47 +01:00
parent 491eedf77e
commit 246e05dcd9
5 changed files with 203 additions and 3 deletions
@@ -13,7 +13,7 @@ namespace YesNt.Interpreter.Runtime;
/// <see cref="RuntimeInformation"/> whose <see cref="ParentRuntimeInformation"/> points back
/// to the main execution context.
/// </summary>
internal sealed class RuntimeInformation
internal sealed class RuntimeInformation : IStatementContext
{
public event Action<string> OnDebugOutput;