blob: f455da1a04ca44d0608cb86d7acb8644cdc850be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
namespace AtLangCompiler.ILEmitter;
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
public sealed class EmitterForAttribute : Attribute
{
public Type NodeType { get; }
public EmitterForAttribute(Type nodeType)
{
this.NodeType = nodeType ?? throw new ArgumentNullException(nameof(nodeType));
}
}
|