CanonSharp/CanonSharp.Pascal/SyntaxTree/ProgramBody.cs

9 lines
231 B
C#
Raw Normal View History

namespace CanonSharp.Pascal.SyntaxTree;
public sealed class ProgramBody(BlockNode block) : SyntaxNodeBase
{
public override SyntaxNodeType NodeType => SyntaxNodeType.ProgramBody;
public BlockNode MainBlock => block;
}