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