Declarator
using System.Runtime.CompilerServices;
namespace CLanguage.Syntax
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class Declarator
{
[System.Runtime.CompilerServices.Nullable(1)]
public abstract string DeclaredIdentifier {
[System.Runtime.CompilerServices.NullableContext(1)]
get;
}
public bool StrongBinding { get; set; }
public Declarator InnerDeclarator { get; set; }
protected Declarator(Declarator innerDeclarator)
{
InnerDeclarator = innerDeclarator;
}
[System.Runtime.CompilerServices.NullableContext(1)]
public override string ToString()
{
return DeclaredIdentifier;
}
}
}