CanonSharp/CanonSharp.Benchmark/Canon.Core/Abstractions/ILexer.cs

12 lines
267 B
C#
Raw Permalink Normal View History

using CanonSharp.Benchmark.Canon.Core.LexicalParser;
namespace CanonSharp.Benchmark.Canon.Core.Abstractions;
/// <summary>
/// 词法分析器接口
/// </summary>
public interface ILexer
{
public IEnumerable<SemanticToken> Tokenize(ISourceReader reader);
}