mirror of
https://gitea.tendokyu.moe/beerpsi/sinmai-mods.git
synced 2024-11-30 18:24:39 +01:00
24 lines
416 B
C#
24 lines
416 B
C#
using System;
|
|
|
|
namespace MoreChartFormats.Simai.LexicalAnalysis;
|
|
|
|
public readonly struct Token
|
|
{
|
|
public readonly TokenType type;
|
|
public readonly string lexeme;
|
|
|
|
public readonly int line;
|
|
public readonly int character;
|
|
|
|
public Token(TokenType type,
|
|
string lexeme,
|
|
int line,
|
|
int character)
|
|
{
|
|
this.type = type;
|
|
this.lexeme = lexeme;
|
|
this.line = line;
|
|
this.character = character;
|
|
}
|
|
}
|