14 lines
318 B
C#
14 lines
318 B
C#
using Nub.Lang.Frontend.Diagnostics;
|
|
|
|
namespace Nub.Lang.Frontend.Lexing;
|
|
|
|
public class ModifierToken(SourceText sourceText, int startIndex, int endIndex, Modifier modifier) : Token(sourceText, startIndex, endIndex)
|
|
{
|
|
public Modifier Modifier { get; } = modifier;
|
|
}
|
|
|
|
public enum Modifier
|
|
{
|
|
Extern,
|
|
Export
|
|
} |