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>
11 lines
318 B
C#
11 lines
318 B
C#
namespace CanonSharp.Pascal.SyntaxTree;
|
|
|
|
public sealed class WhileNode(SyntaxNodeBase condition, SyntaxNodeBase statement) : SyntaxNodeBase
|
|
{
|
|
public override SyntaxNodeType NodeType => SyntaxNodeType.While;
|
|
|
|
public SyntaxNodeBase Condition => condition;
|
|
|
|
public SyntaxNodeBase Statement => statement;
|
|
}
|