To easily spot semicolon errors, they are now mandatory delimiters after each construct. Add require() to raise an error if a match is unsucessful. Multiple rules in one xn files now possible.
15 lines
348 B
C#
15 lines
348 B
C#
using System.Collections.Generic;
|
|
using System.Xml;
|
|
using System.Xml.Linq;
|
|
using System.Xml.XPath;
|
|
using XNeedle;
|
|
using XNeedle.Parser.Elements;
|
|
|
|
namespace XNeedle.Transformation
|
|
{
|
|
public class RequireException : Exception
|
|
{
|
|
public SourceLocation SLoc { get; set; }
|
|
public required string UserMessage { get; set; }
|
|
}
|
|
} |