mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
16 lines
694 B
C#
16 lines
694 B
C#
namespace YesNt.Interpreter.Runtime;
|
|
|
|
/// <summary>
|
|
/// Base class for all classes that host statement handler methods.
|
|
/// Subclasses declare methods decorated with <see cref="Attributes.StatementAttribute"/> or
|
|
/// <see cref="Attributes.StaticStatementAttribute"/>; the source generator
|
|
/// (<c>GeneratedStatementRegistry</c>) discovers these at compile time and wires them up.
|
|
/// </summary>
|
|
internal abstract class StatementRuntimeInformation
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the runtime state for the current execution context.
|
|
/// Injected by the generated registry before any handler is invoked.
|
|
/// </summary>
|
|
public RuntimeInformation RuntimeInfo { get; set; }
|
|
} |