tlang-runtime-compiler/TLang.Parser/WhileLoop.cs

17 lines
347 B
C#
Raw Normal View History

2023-07-27 03:31:32 +00:00
namespace TLang.Parser
{
public class WhileLoop : Node
{
public Node Condition {get;set;}
public Node Body {get;set;}
public bool IsDo {get;set;}
public WhileLoop(Node cond, Node body, bool v)
{
Condition = cond;
Body = body;
IsDo = v;
}
}
}