tlang-runtime-compiler/TLang.Lexer/LexEntryContext.cs

19 lines
415 B
C#
Raw Permalink Normal View History

2023-07-27 03:31:32 +00:00
using System.Collections.Generic;
namespace TLang.Lexer
{
public class LexEntryContext
{
public LexEntryContext(List<LexToken> tokens,int offset,bool success)
{
Tokens = tokens;
Offset = offset;
Success = success;
}
public IReadOnlyList<LexToken> Tokens {get;}
public int Offset {get;}
public bool Success {get;}
}
}