CanonSharp/CanonSharp.Pascal/SyntaxTree/ProgramHead.cs

11 lines
285 B
C#
Raw Permalink Normal View History

using CanonSharp.Pascal.Scanner;
namespace CanonSharp.Pascal.SyntaxTree;
public sealed class ProgramHead(LexicalToken programName) : SyntaxNodeBase
{
public override SyntaxNodeType NodeType => SyntaxNodeType.ProgramHead;
public LexicalToken ProgramName => programName;
}