more renaming

This commit is contained in:
nub31
2025-05-05 19:26:23 +02:00
parent e5b7982d37
commit bfaad0950b
50 changed files with 25 additions and 7 deletions

View File

@@ -0,0 +1,46 @@
namespace Nub.Lang.Frontend.Lexing;
public class SymbolToken(Symbol symbol) : Token
{
public Symbol Symbol { get; } = symbol;
}
public enum Symbol
{
Whitespace,
Import,
Extern,
Global,
Func,
Return,
Let,
If,
Else,
While,
Break,
Continue,
Semicolon,
Colon,
OpenParen,
CloseParen,
OpenBrace,
CloseBrace,
OpenBracket,
CloseBracket,
Comma,
Period,
Assign,
Bang,
Equal,
NotEqual,
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
Plus,
Minus,
Star,
ForwardSlash,
New,
Struct
}