CLanguage by praeclarum

<PackageReference Include="CLanguage" Version="0.18.48" />

.NET API 203,776 bytes

 IdentifierDeclarator

using System.Collections.Generic; using System.Runtime.CompilerServices; namespace CLanguage.Syntax { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class IdentifierDeclarator : Declarator { public string Identifier { get; set; } public List<string> Context { get; } = new List<string>(); public override string DeclaredIdentifier => Identifier; public IdentifierDeclarator(string id) : base(null) { Identifier = id; } public IdentifierDeclarator Push(string id) { Context.Add(Identifier); Identifier = id; return this; } public override string ToString() { return Identifier; } } }