jackfiled
cf19f8197e
Reviewed-on: https://git.bupt-hpc.cn/jackfiled/CanonSharp/pulls/3 Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Co-committed-by: jackfiled <xcrenchangjun@outlook.com>
18 lines
524 B
C#
18 lines
524 B
C#
namespace CanonSharp.Pascal.SyntaxTree;
|
|
|
|
public sealed class ProgramBody(BlockNode constantDeclarations, BlockNode variableDeclarations,
|
|
BlockNode subprograms,
|
|
BlockNode mainBlock)
|
|
: SyntaxNodeBase
|
|
{
|
|
public override SyntaxNodeType NodeType => SyntaxNodeType.ProgramBody;
|
|
|
|
public BlockNode ConstantDeclarations => constantDeclarations;
|
|
|
|
public BlockNode VariableDeclarations => variableDeclarations;
|
|
|
|
public BlockNode Subprograms => subprograms;
|
|
|
|
public BlockNode MainBlock => mainBlock;
|
|
}
|