Declaration
using System.Runtime.CompilerServices;
namespace CLanguage.Syntax
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class Declaration : Statement
{
public DeclarationSpecifiers Specifiers { get; set; }
public Declarator Declarator { get; set; }
public Initializer Initializer { get; set; }
public override bool AlwaysReturns => false;
protected Declaration(DeclarationSpecifiers specs, Declarator decl, Initializer init)
{
Specifiers = specs;
Declarator = decl;
Initializer = init;
}
}
}