13 lines
444 B
C#
13 lines
444 B
C#
namespace ParadoxSaveParser.Lib;
|
|
|
|
/// <summary>"*" — matches every node at this level.</summary>
|
|
internal sealed class AnyMatchExpression(ISearchExpression? next) : ISearchExpression
|
|
{
|
|
public bool DoesMatch(MatchCandidate candidate, out ISearchExpression? nextSearchExpression)
|
|
{
|
|
nextSearchExpression = next;
|
|
return true;
|
|
}
|
|
|
|
public void ReEncode(Encoding encoding) => next?.ReEncode(encoding);
|
|
} |