wip: enums
This commit is contained in:
@@ -82,4 +82,5 @@ public enum Symbol
|
||||
Export,
|
||||
Defer,
|
||||
At,
|
||||
Enum,
|
||||
}
|
||||
@@ -24,6 +24,7 @@ public sealed class Tokenizer
|
||||
["export"] = Symbol.Export,
|
||||
["import"] = Symbol.Import,
|
||||
["defer"] = Symbol.Defer,
|
||||
["enum"] = Symbol.Enum,
|
||||
};
|
||||
|
||||
private static readonly Dictionary<char[], Symbol> Symbols = new()
|
||||
|
||||
Reference in New Issue
Block a user