using System;
namespace YesNt.Interpreter.Runtime;
///
/// Provides per-line execution data raised through .
///
public class DebugEventArgs : EventArgs
{
/// Gets the 1-based line number of the executed line within its source file.
public int LineNumber { get; internal set; }
///
/// Gets the line content after all statement transformations have been applied
/// (e.g. after variable substitution). May differ from .
///
public string CurrentLine { get; internal set; }
/// Gets the raw line content as it appeared in the source file.
public string OriginalLine { get; internal set; }
///
/// Gets the task identifier of the task that executed this line, or 0 if the line
/// was executed on the main thread.
///
public int TaskId { get; internal set; }
///
/// Gets a value indicating whether this line was executed inside a background task
/// (spawned with the task statement).
///
public bool IsTask { get; internal set; }
}