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

17 lines
347 B
C#

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;
}
}
}