diff --git a/LuaScript.Generator/LuaSyntaxRuleGenerator.cs b/LuaScript.Generator/LuaSyntaxRuleGenerator.cs index 9f57a96..e8d2ae4 100644 --- a/LuaScript.Generator/LuaSyntaxRuleGenerator.cs +++ b/LuaScript.Generator/LuaSyntaxRuleGenerator.cs @@ -8,8 +8,6 @@ using Microsoft.CodeAnalysis.Text; namespace LuaScript.Generator { - internal sealed record LuaSyntaxRuleModel(string TypeName, int Order); - [Generator] public sealed class LuaSyntaxRuleGenerator : IIncrementalGenerator { diff --git a/LuaScript.Generator/LuaSyntaxRuleModel.cs b/LuaScript.Generator/LuaSyntaxRuleModel.cs new file mode 100644 index 0000000..5dd1043 --- /dev/null +++ b/LuaScript.Generator/LuaSyntaxRuleModel.cs @@ -0,0 +1,4 @@ +namespace LuaScript.Generator +{ + internal sealed record LuaSyntaxRuleModel(string TypeName, int Order); +}