5ea9a814d6
Pdf Import rewritten to greatly improve QR Code detection, reduce reliance on iTextSharp and improve thumbnails. Fixes #50
24 lines
731 B
C#
24 lines
731 B
C#
using Spring.Expressions.Parser.antlr;
|
|
|
|
namespace Disco.Services.Expressions
|
|
{
|
|
public class EvaluateExpressionParseException
|
|
{
|
|
public string Expression { get; set; }
|
|
public int PositionRow { get; set; }
|
|
public int PositionColumn { get; set; }
|
|
public string Message { get; set; }
|
|
|
|
internal static EvaluateExpressionParseException FromRecognitionException(RecognitionException e, string Expression)
|
|
{
|
|
return new EvaluateExpressionParseException()
|
|
{
|
|
Expression = Expression,
|
|
Message = e.Message,
|
|
PositionRow = e.getLine(),
|
|
PositionColumn = e.getColumn()
|
|
};
|
|
}
|
|
}
|
|
}
|