mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Results of SyntaxCheck -> extra State
This commit is contained in:
13
HaWeb/Models/SyntaxErrorModel.cs
Normal file
13
HaWeb/Models/SyntaxErrorModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace HaWeb.Models;
|
||||
|
||||
public class SyntaxError {
|
||||
public string Message { get; private set; }
|
||||
public int? Line { get; set; }
|
||||
public int? Column { get; set; }
|
||||
|
||||
public SyntaxError(int? line, int? column, string message) {
|
||||
Line = line;
|
||||
Column = column;
|
||||
Message = message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user