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

16 lines
326 B
C#

namespace TLang.Parser
{
public class IfNode : Node
{
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;
}
}
}