templates support

This commit is contained in:
EugeneTes
2026-01-21 15:56:37 +01:00
parent 729679d283
commit 9fbc61dede
60 changed files with 5678 additions and 14 deletions

View File

@@ -0,0 +1,20 @@
using Inspectron.Epson.Templates.Language;
namespace Inspectron.Epson.Templates.Interpreter;
public class InterpreterException : Exception
{
public SourcePosition Position { get; }
public InterpreterException(string message, SourcePosition position)
: base($"{message} at {position}")
{
Position = position;
}
public InterpreterException(string message, SourcePosition position, Exception innerException)
: base($"{message} at {position}", innerException)
{
Position = position;
}
}