// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Microsoft.TemplateEngine.Core.Contracts
{
    public interface ITokenTrieEvaluator
    {
        int BytesToKeepInBuffer { get; }

        bool Accept(byte data, ref int bufferPosition, out int token);

        bool TryFinalizeMatchesInProgress(ref int bufferPosition, out int token);
    }
}