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

16 lines
326 B
C#
Raw Normal View History

2023-07-27 03:31:32 +00:00
namespace TLang.Parser
{
2023-07-29 00:11:09 +00:00
public class IfNode : Node
2023-07-27 03:31:32 +00:00
{
public Node Condition {get;set;}
public Node Yes {get;set;}
public Node No {get;set;}
public IfNode(Node cond, Node yes, Node no)
{
Condition = cond;
Yes = yes;
No = no;
}
}
}